Click or drag to resize

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

Parameters

filename
Type: System.String
The filename of the snapshot.
cameraSnapshotFormat
Type: AGI.Foundation.Graphics.Advanced.CameraSnapshotFileFormat
The file format of the snapshot
widthInInches
Type: System.Double
The desired width of the snapshot in inches.
dotsPerInch
Type: System.Double
The number of pixels per inch.
See Also