xtd 0.2.0
Loading...
Searching...
No Matches

◆ alignment() [2/2]

xtd::drawing::string_format & xtd::drawing::string_format::alignment ( xtd::drawing::string_alignment  alignment)
noexcept

Sets horizontal alignment of the string.

Parameters
alignmentA string_alignment enumeration that specifies the horizontal alignment of the string.
Remarks
Use line_alignment to specify the vertical alignment of the string.