Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot Namespace / ViewportLayout Class / RenderToBitmap Method / RenderToBitmap(Double) Method
The bitmap scale

In This Topic
    RenderToBitmap(Double) Method
    In This Topic
    Returns an image of the current ViewportLayout viewport scene. The image can be scaled even to a poster size one.
    Syntax
    'Declaration
     
    Public Overloads Function RenderToBitmap( _
       ByVal drawScaleFactor As Double _
    ) As Bitmap
    public Bitmap RenderToBitmap( 
       double drawScaleFactor
    )

    Parameters

    drawScaleFactor
    The bitmap scale

    Return Value

    The 24-bit image.
    Remarks
    To get a 32-bit image with transparent background set the devDept.Graphics.BackgroundSettings.StyleMode to devDept.Graphics.backgroundStyleType.None.
    See Also