Eyeshot 9.0 WinForms API Reference
WriteToFileRaster(Single,Double,String,ImageFormat,Boolean,Boolean) Method

WinForms Assembly > devDept.Eyeshot Namespace > Viewport Class > WriteToFileRaster Method : WriteToFileRaster(Single,Double,String,ImageFormat,Boolean,Boolean) Method
The image scale
The factor applied to the line weight of the wire entities
A string that contains the name of the file to which to save the raster image
The file format of the raster image
If false, the drawing of the background is skipped
If true, use the hardware acceleration (OpenGL only)
Saves a raster image of the current viewport scene on disk.
Syntax
'Declaration
 
Public Overloads Sub WriteToFileRaster( _
   ByVal drawScale As Single, _
   ByVal lineWeightFactor As Double, _
   ByVal fileName As String, _
   ByVal format As ImageFormat, _
   ByVal drawBackground As Boolean, _
   ByVal hdwAcceleration As Boolean _
) 
public void WriteToFileRaster( 
   float drawScale,
   double lineWeightFactor,
   string fileName,
   ImageFormat format,
   bool drawBackground,
   bool hdwAcceleration
)

Parameters

drawScale
The image scale
lineWeightFactor
The factor applied to the line weight of the wire entities
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
drawBackground
If false, the drawing of the background is skipped
hdwAcceleration
If true, use the hardware acceleration (OpenGL only)
Remarks
The saved file will contain a 24-bit image.
See Also

Reference

Viewport Class
Viewport Members
Overload List