Draws the contents of the viewer to a device.
[Visual Basic 6.0] Sub DrawToMetafile(
ByVal hDC As OLE_HANDLE, _
ByVal resolutionFactor As Single, _
ByVal left As Long, _
ByVal top As Long, _
ByVal right As Long, _
ByVal bottom As Long, _
ByVal bOffScreen As Boolean _
)
[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 );
[Java] public void drawToMetafile ( int hDC, float resolutionFactor, int left, int top, int right, int bottom, Boolean bOffScreen ) throws IOException, AutomationException
[C++]
HRESULT DrawToMetafile(
OLE_HANDLE hDC,
float resolutionFactor,
long left,
long top,
long right,
long bottom,
VARIANT_BOOL bOffScreen
);
Parameters
hDC [in]
hDC is a parameter of type OLE_HANDLE
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