Click or drag to resize

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.1.418.0 (24.1.418.0)
Syntax
public void SaveToFile(
	string filename,
	CameraSnapshotFileFormat cameraSnapshotFormat,
	double widthInInches,
	double dotsPerInch
)

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