CODRectComponent::Create

Creates the rectangle component.

Defined in: OdRectComp.cpp

Syntax

BOOL CODRectComponent::Create(CRect rect);

BOOL CODRectComponent::Create(int nLeft, int nTop, int nRight, int nBottom);

Return Value

TRUE if the component was sucessfully created.

Parameters

rect

The rectangle object to base this component on.

nLeft

The left edge of the rectangle.

nTop

The top edge of the rectangle.

nRight

The right edge of the rectangle.

nBottom

The bottom edge of the rectangle.