Environment.RenderToBitmap (Double, Double, Boolean, Boolean) Method
Parameters
- drawScaleFactor
- 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.