CODMetafileComponent::Delete

BOOLCODMetafileComponent::Delete(void)

Delete the metafile handle.

Defined in: OdMetafileComp.cpp

Return Value

If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. To get extended error information, call GetLastError.

Comments

This function uses the GDI DeleteEnhMetaFile function to delete the metafile handle. If successful, the m_hMetafile member variable is set to NULL.