8#include "../drawing_export.h"
79 alignment_ = alignment;
89 format_flags_ = format_flag;
113 line_alignment_ = line_alignment;
123 trimming_ = trimming;
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes....
Definition object.h:26
#define drawing_export_
Define shared library export.
Definition drawing_export.h:13
string_trimming
Specifies how to trim characters from a string that does not completely fit into a layout shape.
Definition string_trimming.h:17
hotkey_prefix
Specifies the type of display for hot-key prefixes that relate to text.
Definition hotkey_prefix.h:18
string_format_flags
Specifies the display and layout information for text strings. This enumeration allows a bitwise comb...
Definition string_format_flags.h:17
string_alignment
Specifies the alignment of a text string relative to its layout rectangle.
Definition string_alignment.h:23
@ none
Specifies no trimming.
@ character
Specifies that the text is trimmed to the nearest character.
@ line_limit
Only entire lines are laid out in the formatting rectangle. By default layout continues until the end...
@ fit_black_box
Parts of characters are allowed to overhang the string's layout rectangle. By default,...
@ no_clip
Overhanging parts of glyphs, and unwrapped text reaching outside the formatting rectangle are allowed...
@ near
Specifies the text be aligned near the layout. In a left-to-right layout, the near position is left....
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition system_report.h:17
Contains xtd::object class.
Contains xtd::drawing::string_alignment enum class.
Contains xtd::drawing::string_trimming enum class.
Contains xtd::drawing::text::hotkey_prefix enum class.