CODModel::UpdateComponents

void CODModel::UpdateComponents(CODComponentSet* pCompSet, int nType)

Updates provided components' regions.

Defined in: OdModel.cpp

Return Value

void

Parameters

pCompSet

Component to be updated

nType

Can be any of the following values:

OD_UPDATE_ALL

Update the entire diagram area.

OD_UPDATE_CURRENT_POS

Update selected components at their current positions.

OD_UPDATE_OLD_AND_NEW_POS

Update selected components at their new positions.

OD_UPDATE_DIAGRAM_SIZE

Update the entire diagram area after the diagram size has been changed.

OD_UPDATE_PAGE_SETTINGS

Update the diagram after the page settings have been modified.