Supports rendering to the specified bitmap.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Sub DrawToBitmap( _
ByVal bitmap As System.Drawing.Bitmap, _
ByVal targetBounds As System.Drawing.Rectangle _
) |
| C# | |
|---|
public void DrawToBitmap(
System.Drawing.Bitmap bitmap,
System.Drawing.Rectangle targetBounds
) |
Parameters
- bitmap
- The bitmap to be drawn to.
- targetBounds
- The bounds within which the control is rendered.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also