This document is archived and information here might be outdated.  Recommended version.


ISceneViewer2.GetSnapshot Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (3DAnalyst)  

ISceneViewer2.GetSnapshot Method

Saves the content of the scene viewer as an image.

[Visual Basic .NET]
Public Sub GetSnapshot ( _
    ByVal Width As Integer, _
    ByVal height As Integer, _
    ByVal Type As esri3DOutputImageType, _
    ByVal FileName As String _
)
[C#]
public void GetSnapshot (
    int Width,
    int height,
    esri3DOutputImageType Type,
    string FileName
);
[C++]
HRESULT GetSnapshot(
  long Width,
  long height,
  esri3DOutputImageType Type,
  BSTR FileName
);
[C++]

Parameters Width [in]
Width is a parameter of type long height [in]
height is a parameter of type long Type [in]
Type is a parameter of type esri3DOutputImageType FileName [in]
FileName is a parameter of type BSTR

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.

See Also

ISceneViewer2 Interface