Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot Namespace / ViewportLayout Class / WriteToFileRaster Method / WriteToFileRaster(Single,String,ImageFormat) Method
The image scale factor
A string that contains the name of the file to which to save the raster image
The file format of the raster image

In This Topic
    WriteToFileRaster(Single,String,ImageFormat) Method
    In This Topic
    Saves a raster image of the current viewport scene on disk.
    Syntax
    'Declaration
     
    Public Overloads Sub WriteToFileRaster( _
       ByVal drawScaleFactor As Single, _
       ByVal fileName As String, _
       ByVal format As ImageFormat _
    ) 
    public void WriteToFileRaster( 
       float drawScaleFactor,
       string fileName,
       ImageFormat format
    )

    Parameters

    drawScaleFactor
    The image scale factor
    fileName
    A string that contains the name of the file to which to save the raster image
    format
    The file format of the raster image
    Remarks
    The saved file will contain a 24-bit image.If the file exists, it's overwritten.To get a 32-bit image with transparent background set the devDept.Graphics.BackgroundSettings.StyleMode to devDept.Graphics.backgroundStyleType.None.
    See Also