CODMetafileComponent::Copy
BOOL CODMetafileComponent::Copy(const HENHMETAFILE hMetafile)
Make a copy of the given metafile and assign it to this component.
Defined in: OdMetafileComp.cpp
Return Value
TRUE if successful; otherwise FALSE.
Parameters
hMetafile
Handle to an enhanced metafile.
Comments
The enhanced metafile passed in is copied and the resulting
handle is assigned to this component. The lifetime of the original
metafile passed in to this function is the responsibility of the
caller. This function fails if the metafile component already has a
valid metafile handle.