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


IEmfExporter.TakeHENHMETAFILE Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Output)  

IEmfExporter.TakeHENHMETAFILE Method

Returns the handle to the in-memory metafile. Valid only after ReleaseDC has been called. Ownership of the handle is transferred to the client who must call DeleteEnhMetafile on the returned handle. Subsequent calls to this routine will return 0.

[Visual Basic .NET]
Public Function TakeHENHMETAFILE ( _
) As Integer
[C#]
public int TakeHENHMETAFILE (
);
[C++]
HRESULT TakeHENHMETAFILE(
  long* pHandle
);
[C++]

Parameters pHandle [out, retval] pHandle is a parameter of type long

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IEmfExporter Interface