CODMetafileComponent::LoadFromFile

BOOL CODMetafileComponent::LoadFromFile(LPCTSTR lpszFileName)

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.