Eyeshot 10 WinForms API Reference
WriteToFileRaster(Single,String,ImageFormat) Method

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
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

Reference

ViewportLayout Class
ViewportLayout Members
Overload List