Size::ClampHeight

Size::ClampHeight
inline Size<T>& ClampHeight(T h);
Description

ClampedHeight clamps the current Height to an alternate value. The lesser value is chosen. The following expression may be used to represent the result:

   (Width, Height) = (Width, min(Height, h))
Parameters
Parameters 
Description 
T h 
A value that is clamped to the Height component of the current size. 
Return Value

A Size reference to the current string whose Height represents the clamp of its original Height with a passed value.

See Also