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


I3DViewer.DrawToMetafile Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (3DAnalyst)  

I3DViewer.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(
  OLE_HANDLE hDC,
  float resolutionFactor,
  long left,
  long top,
  long right,
  long bottom,
  VARIANT_BOOL bOffScreen
);
[C++]

Parameters hDC [in]
hDC is a parameter of type OLE_HANDLE resolutionFactor [in]
resolutionFactor is a parameter of type single 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 bool

Product Availability

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

See Also

I3DViewer Interface