CODImageComponent::Create

Creates the image component.

Defined in: OdImageComp.cpp

Syntax

BOOL CODImageComponent::Create(UINT nID, CDC* pDC);

BOOL CODImageComponent::Create(CString strImagePath);

Return Value

Non-zero if the component was successfully created.

Parameters

nID

The resource ID of a bitmap.

pDC

The device context for the bitmap.

strImagePath

The path of the file to read the image from.

See Also

Load