CODModel::UpdateComponent

void CODModel::UpdateComponent(CODComponent* pComp, int nType)

Updates provided component's region.

Defined in: OdModel.cpp

Return Value

void

Parameters

pComp

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.