| Visual Basic (Declaration) | |
|---|---|
Public Sub DrawToBitmap( _ ByVal bitmap As Bitmap, _ ByVal targetBounds As Rectangle _ ) | |
| C# | |
|---|---|
public void DrawToBitmap( Bitmap bitmap, Rectangle targetBounds ) | |
Parameters
- bitmap
- The bitmap to be drawn to.
- targetBounds
- The bounds within which the control is rendered.