Viewport.WriteToFileRaster (Single, Double, String, ImageFormat, Boolean, Boolean) Method
Public Sub WriteToFileRaster( _
ByVal drawScale As Single, _
ByVal lineWeightFactor As Double, _
ByVal fileName As String, _
ByVal format As ImageFormat, _
ByVal drawBackground As Boolean, _
Optional ByVal hdwAcceleration As Boolean = true _
)
This language is not supported or no code example is available.
Parameters
- drawScale
- float
The image scale
- lineWeightFactor
- double
The factor applied to the line weight of the wire entities
- fileName
- string
A string that contains the name of the file to which to save the raster image
- format
- ImageFormat
The file format of the raster image
- drawBackground
- bool
If false, the drawing of the background is skipped
- hdwAcceleration
- bool
If true, use the hardware acceleration (OpenGL only)
The saved file will contain a 24-bit image.