Environment.WriteToFileRaster (Single, String, ImageFormat) Method

Saves a raster image of the current viewport scene on disk.
Public Sub WriteToFileRaster( _ 
ByVal drawScaleFactor As Single, _ 
ByVal fileName As String, _ 
ByVal format As ImageFormat
)
This language is not supported or no code example is available.
public void WriteToFileRaster( 
float drawScaleFactor
string fileName
ImageFormat format 
)
This language is not supported or no code example is available.

Parameters

drawScaleFactor
float

The image scale factor

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

Remarks
 
The saved file will contain a 24-bit image.

.NET Framework

Supported in: 4.8

In this article

Definition