CODImageEntry::LoadImage

Load the image from a file.

Defined in: OdImageCache.h

Syntax

inline BOOL CODImageEntry::LoadImage(UINT nID)

inline BOOL CODImageEntry::LoadImage(LPCTSTR lpszFileName)

Return Value

Non-zero if successful; otherwise zero.

Parameters

nID

Resource ID of image.

lpszFileName

Name of an image file.

Class Members

inline BOOL CODImageEntry:: LoadImage(CBitmap& bmp, CDC* pDC)

Load an image from a bitmap object.