In The Hand LtdIn The Hand
DrawToBitmap Method (control, bitmap, targetBounds)
NamespacesInTheHand.Windows.FormsControlHelperDrawToBitmap(Control, Bitmap, Rectangle)
.NET Components for Mobility
Supports rendering to the specified bitmap.
Declaration Syntax
C#Visual Basic
public static void DrawToBitmap(
	Control control,
	Bitmap bitmap,
	Rectangle targetBounds
)
Public Shared Sub DrawToBitmap ( _
	control As Control, _
	bitmap As Bitmap, _
	targetBounds As Rectangle _
)
Parameters
control (Control)
The Control.
bitmap (Bitmap)
The bitmap to be drawn to.
targetBounds (Rectangle)
The bounds within which the control is rendered.

Assembly: InTheHand.Windows.Forms (Module: InTheHand.Windows.Forms) Version: 7.0.0.0