'Declaration Public Overloads Function RenderToBitmap( _ ByVal rectangle As Rectangle, _ ByVal drawScaleFactor As Double, _ ByVal drawBackground As Boolean, _ Optional ByVal hdwAcceleration As Boolean _ ) As Bitmap
public Bitmap RenderToBitmap( Rectangle rectangle, double drawScaleFactor, bool drawBackground, bool hdwAcceleration )
Parameters
- rectangle
- The rectangle of the viewport to capture in screen coordinates (zero on top)
- drawScaleFactor
- The bitmap scale factor
- drawBackground
- If false, the drawing of the background is skipped
- hdwAcceleration
- If true, use the hardware acceleration (OpenGL only)
Return Value
The 24-bit image.