Eyeshot 10 WinForms API Reference
RenderToBitmap(Size,Boolean,Boolean) Method

WinForms Assembly > devDept.Eyeshot Namespace > Viewport Class > RenderToBitmap Method : RenderToBitmap(Size,Boolean,Boolean) Method
The size in which the viewport will be fitted.
If true, the drawing of the background is skipped
If true, use the hardware acceleration
Returns an image of the current ViewportLayout scene. The image can be scaled even to a poster size one.
Syntax
'Declaration
 
Public Overloads Function RenderToBitmap( _
   ByVal bitmapSize As Size, _
   ByVal drawBackground As Boolean, _
   Optional ByVal hdwAcceleration As Boolean _
) As Bitmap
public Bitmap RenderToBitmap( 
   Size bitmapSize,
   bool drawBackground,
   bool hdwAcceleration
)

Parameters

bitmapSize
The size in which the viewport will be fitted.
drawBackground
If true, the drawing of the background is skipped
hdwAcceleration
If true, use the hardware acceleration

Return Value

The 24-bit image.
See Also

Reference

Viewport Class
Viewport Members
Overload List