CRect::Height

int Height( ) const;

Return Value

The height of CRect.

Remarks

Calculates the height of CRect by subtracting the top value from the bottom value. The resulting value can be negative.

Note   The rectangle must be normalized or this function may fail. You can call NormalizeRect to normalize the rectangle before calling this function.

CRect OverviewClass MembersHierarchy Chart

See Also   CRect::Width, CRect::Size, CRect::CenterPoint, CRect::IsRectEmpty, CRect::IsRectNull, CRect::NormalizeRect