CameraSnapshotSaveToFile Method (String, CameraSnapshotFileFormat, Double, Double) |
Saves a snapshot of the 3D window to the filename with the specified format at high resolution. Generally,
this is used to take snapshots for print media, such as posters, which is why the input parameters
are in terms of inches and dots per inch typically required by printers.
Namespace:
AGI.Foundation.Graphics.Advanced
Assembly:
AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public void SaveToFile(
string filename,
CameraSnapshotFileFormat cameraSnapshotFormat,
double widthInInches,
double dotsPerInch
)
Public Sub SaveToFile (
filename As String,
cameraSnapshotFormat As CameraSnapshotFileFormat,
widthInInches As Double,
dotsPerInch As Double
)
public:
void SaveToFile(
String^ filename,
CameraSnapshotFileFormat cameraSnapshotFormat,
double widthInInches,
double dotsPerInch
)
member SaveToFile :
filename : string *
cameraSnapshotFormat : CameraSnapshotFileFormat *
widthInInches : float *
dotsPerInch : float -> unit
Parameters
- filename
- Type: SystemString
The filename of the snapshot. - cameraSnapshotFormat
- Type: AGI.Foundation.Graphics.AdvancedCameraSnapshotFileFormat
The file format of the snapshot - widthInInches
- Type: SystemDouble
The desired width of the snapshot in inches. - dotsPerInch
- Type: SystemDouble
The number of pixels per inch.
See Also