CODMetafileComponent::LoadFromFile

BOOLCODMetafileComponent::LoadFromFile(LPCTSTRlpszFileName)

Loads a metafile from disk.

Defined in: OdMetafileComp.cpp

Return Value

TRUE if successful; otherwise FALSE.

Parameters

lpszFileName

Filename to load enhanced metafile from.

Comments

This function uses the GDI GetEnhMetaFile function to load the metafile and assign a handle to the m_hMetafile member variable.