Size::ExpandedToWidth

Size::ExpandedToWidth
inline Size<T> ExpandedToWidth(T w) const;
Description

ExpandedToWidth expands (unions) the Width of the current size to a passed value by comparing them. The greater component is chosen. The following expression may be used to represent the result:

   (Width, Height) = (max(Width, h), Height)
Parameters
Parameters 
Description 
T w 
A value that is compared to Width
Return Value

A Size reference to the current string whose Width represent the union of its original Width and a passed value.

See Also