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.
[Visual Basic .NET] |
---|
Public Sub SaveToFileWithWidthAndDPI( _
ByVal Filename As String, _
ByVal CameraSnapshotFormat As AgEStkGraphicsCameraSnapshotFileFormat, _
ByVal WidthInInches As Double, _
ByVal DotsPerInch As Double _
)
|
[C#] |
---|
public void SaveToFileWithWidthAndDPI(
|
[Managed C++] |
---|
public: void SaveToFileWithWidthAndDPI(
|
[Java] |
---|
public saveToFileWithWidthAndDPI(
|
[Unmanaged C++] |
---|
public: HRESULT SaveToFileWithWidthAndDPI(
|
- 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 - WidthInInches
- The desired width of the snapshot in inches.
- DotsPerInch
- The number of pixels per inch.