AGI STK Graphics 11Send comments on this topic.
SaveToFile Method (IAgStkGraphicsCameraSnapshot)
See Also 
Filename
The filename of the snapshot.
CameraSnapshotFormat
The file format of the snapshot
Windows






Windows & Linux

Description

Saves a snapshot of the 3D window to the filename with the specified format.

Syntax

[Visual Basic .NET]
Public Sub SaveToFile( _
   ByVal Filename As String, _
   ByVal CameraSnapshotFormat As AgEStkGraphicsCameraSnapshotFileFormat _
) 
[C#]
public void SaveToFile(
   string Filename,
   AgEStkGraphicsCameraSnapshotFileFormat CameraSnapshotFormat
);
[Managed C++]
public: void SaveToFile(
   String __gc ^ Filename,
   AgEStkGraphicsCameraSnapshotFileFormat CameraSnapshotFormat
);
[Java]
public  saveToFile(
   String Filename,
   AgEStkGraphicsCameraSnapshotFileFormat CameraSnapshotFormat
);
[Unmanaged C++]
public: HRESULT SaveToFile(
   BSTR Filename,
   AgEStkGraphicsCameraSnapshotFileFormat CameraSnapshotFormat
);

Parameters

Filename
The filename of the snapshot.
CameraSnapshotFormat
MemberValueDescription
eStkGraphicsCameraSnapshotFileFormatBmp0BMP file format
eStkGraphicsCameraSnapshotFileFormatRas1RAS file format
eStkGraphicsCameraSnapshotFileFormatTiff2TIFF file format
eStkGraphicsCameraSnapshotFileFormatJpeg3JPEG file format
The file format of the snapshot

See Also

© 2018 Analytical Graphics, Inc. All Rights Reserved.