Viewport.RenderToBitmap (RectangleF, Size, Double, Color, Boolean, Boolean) Method

Returns an image of the current <see cref="Model" /> scene. The image can be scaled even to a poster size one.
Public Function RenderToBitmap( _ 
ByVal rectangle As RectangleF, _ 
ByVal bitmapSize As Size, _ 
ByVal lineWeightFactor As Double, _ 
ByVal backgroundColor As Color, _ 
ByVal hdwAcceleration As Boolean, _ 
ByVal drawUiElements As Boolean
) As Bitmap
This language is not supported or no code example is available.
public Bitmap RenderToBitmap( 
RectangleF rectangle
Size bitmapSize
double lineWeightFactor
Color backgroundColor
bool hdwAcceleration
bool drawUiElements 
)
This language is not supported or no code example is available.

Parameters

rectangle
RectangleF

bitmapSize
Size

lineWeightFactor
double

backgroundColor
Color

hdwAcceleration
bool

drawUiElements
bool

Return Value

Bitmap

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition