CODCompPropSheet::Init

Initializes property sheet with data acquired from components. Pages are selected for display based on the properties contained amongst the selected components.

Defined in: OdCompPropSheet.cpp

Syntax

void CODCompPropSheet::Init(UINT nPageInitFlags)

void CODCompPropSheet::Init(CODPropertySet* pPropSet, UINT nPageInitFlags)

Return Value

void

Parameters

pPropSet

A pointer to a  CODPropertySet object containing a list of initialization properties.

nPageInitFlags

Flags indicating which property page(s)/options should be displayed to user. Can be one of following values:

OD_PROPPAGE_NAME

Show the component name property page.

OD_PROPPAGE_TEXT

Show the component text field in the name property page.

OD_PROPPAGE_TRANSPARENCY

Show the bitmap transparency field in the name property page.

OD_PROPPAGE_EDIT

Show the component edit properties property page.

OD_PROPPAGE_LABELS

Show the label orientation property page.

OD_PROPPAGE_LINE

Show the line properties property page.

OD_PROPPAGE_FILL

Show the fill properties property page.

OD_PROPPAGE_FONT

Show the font properties property page.

OD_PROPPAGE_ACTIVEX

Show the ActiveX properties property page.

OD_PROPPAGE_ALL

Show all applicable property pages.