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

◆ alignment() [1/2]

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

Gets horizontal alignment of the string.

Returns
A string_alignment enumeration that specifies the horizontal alignment of the string.
Remarks
Use line_alignment to specify the vertical alignment of the string.
Examples
hello_world_paint.cpp, hello_world_png.cpp, and user_control.cpp.