ILayoutNode::FitRectWithinNodeMinMax method

void FitRectWithinNodeMinMax(CRectrc)

Constrains the passed rectangle to the maximum and minimum dimensions specified for the node using a call to ILayoutNode::Get/SetMinMaxSize().

Defined in: LayoutBase.h

Parameters

rc

Rectangle to constrain. The rectangle is adjusted only if it is larger than the specified maximum dimensions; or if it is smaller than the minimum.