CODComponent::ContainsPointEx

BOOLCODComponent::ContainsPointEx(const CPoint&pt)

Does the bounding rectangle of this component contain the specified point? This version augments the one implemented in MvcVisualComponent by taking into account the fact that the width or height of a component may be zero (i.e. a line or a point).

Defined in: OdComponent.cpp

Return Value

TRUE if bounding rectangle of component contains the specified point, otherwise FALSE.

Parameters

pt

Point to test.