CODModel::IsValidLocation

BOOLCODModel::IsValidLocation(CPoint&ptLoc, CODComponent*pComp)

Determines whether component can be placed within the diagram.

Defined in: OdModel.cpp

Return Value

Non-zero if component can be placed at given location; zero otherwise

Parameters

ptLoc

Point (top left corner) where component is to be placed.

pComp

Component to be placed.