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


I3DViewer.GetSnapshot Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (3DAnalyst)  

I3DViewer.GetSnapshot Method

Saves the content of the 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

I3DViewer Interface