Viewport.RenderToBitmap (RectangleF, Double, Double, Boolean, Boolean) Method
Parameters
- rectangle
- RectangleF
The rectangle of the viewport to capture in screen coordinates
- drawScale
- double
The bitmap scale
- lineWeightFactor
- double
The factor applied to the line weight of the wire entities
- drawBackground
- bool
If false, the drawing of the background is skipped
- hdwAcceleration
- bool
If true, use the hardware acceleration (OpenGL only)
Return Value
BitmapThe 24-bit image.
To get a 32-bit image with transparent background set the BackgroundSettings.StyleMode to backgroundStyleType.None.