Compartilhar via


Control.DrawToBitmap

Did you know that method existed? I just saw it for the first time in IntelliSense. I did mostly ASPNET development work when 2.0 was released so I guess I never noticed it. This is a great one to keep in the back of your mind.

 public void DrawToBitmap (
    Bitmap bitmap,
    Rectangle targetBounds
)

https://msdn2.microsoft.com/en-us/library/system.windows.forms.control.drawtobitmap.aspx