ArcObjects Library Reference (3DAnalyst)  

ISceneViewer2.DrawToMetafile Method

Draws the contents of the viewer to a device.

[Visual Basic .NET]
Public Sub DrawToMetafile ( _
    ByVal hDC As Integer, _
    ByVal resolutionFactor As Single, _
    ByVal left As Integer, _
    ByVal top As Integer, _
    ByVal right As Integer, _
    ByVal bottom As Integer, _
    ByVal bOffScreen As Boolean _
)
[C#]
public void DrawToMetafile (
    int hDC,
    float resolutionFactor,
    int left,
    int top,
    int right,
    int bottom,
    bool bOffScreen
);
[C++]
HRESULT DrawToMetafile(
  Long hDC,
  float resolutionFactor,
  long left,
  long top,
  long right,
  long bottom,
  VARIANT_BOOL bOffScreen
);
[C++]

Parameters

hDC [in]   hDC is a parameter of type Long resolutionFactor [in]   resolutionFactor is a parameter of type float left [in]   left is a parameter of type long top [in]   top is a parameter of type long right [in]   right is a parameter of type long bottom [in]   bottom is a parameter of type long bOffScreen [in]   bOffScreen is a parameter of type VARIANT_BOOL

Product Availability

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

See Also

ISceneViewer2 Interface