Viewport.RenderToBitmap (RectangleF, Size, Double, Boolean, Boolean, Boolean) Method
Public Function RenderToBitmap( _
ByVal rectangle As RectangleF, _
ByVal bitmapSize As Size, _
ByVal lineWeightFactor As Double, _
ByVal drawBackground As Boolean, _
ByVal hdwAcceleration As Boolean, _
ByVal drawUiElements As Boolean _
) As Bitmap
This language is not supported or no code example is available.
Parameters
- rectangle
- RectangleF
The rectangle of the viewport to capture in screen coordinates
- bitmapSize
- Size
The size in which the viewport will be fitted.
- lineWeightFactor
- double
The factor applied to the line weight of the wire entities
- drawBackground
- bool
If true, the drawing of the background is skipped
- hdwAcceleration
- bool
If true, use the hardware acceleration (OpenGL only)
- drawUiElements
- bool
Draws UI elements like ViewCubeIcon and ToolBar
Return Value
BitmapThe 24-bit image.