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





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
);

[Unmanaged C++]
public: HRESULT SaveToFile(
BSTR Filename,
AgEStkGraphicsCameraSnapshotFileFormat CameraSnapshotFormat
);

Parameters

Filename
The filename of the snapshot.
CameraSnapshotFormat
Member Value Description
eStkGraphicsCameraSnapshotFileFormatBmp 0 BMP file format
eStkGraphicsCameraSnapshotFileFormatRas 1 RAS file format
eStkGraphicsCameraSnapshotFileFormatTiff 2 TIFF file format
eStkGraphicsCameraSnapshotFileFormatJpeg 3 JPEG file format
The file format of the snapshot

See Also

© 2016 All Rights Reserved.

STK Programming Interface 11.0.1