CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
string_format_flags.h
1
2#ifndef _string_format_flags_h_
3#define _string_format_flags_h_
4
5#include "system/enum_helpers.h"
6
7namespace System { namespace Drawing {
9 enum class StringFormatFlags {
11 DirectionRightToLeft = 0x00000001,
13 DirectionVertical = 0x00000002,
15 FitBlackBox = 0x00000004,
17 DisplayFormatControl = 0x00000020,
19 NoFontFallback = 0x00000400,
21 MeasureTrailingSpaces = 0x00000800,
23 NoWrap = 0x00001000,
25 LineLimit = 0x00002000,
27 NoClip = 0x00004000
28
29 };
30
33 DECLARE_ENUM_OPERATORS(System::Drawing::StringFormatFlags);
35 DECLARE_USING_GLOBAL_OPERATORS
37}}
39DECLARE_USING_ENUM_OPERATORS(System::Drawing);
40#endif
Definition: bitmap.h:48
StringFormatFlags
Specifies the display and layout information for the strings of text.
Definition: string_format_flags.h:9
@ LineLimit
Entire lines are laid out in the formatting rectangle.
@ DisplayFormatControl
Control characters are displayed.
@ FitBlackBox
Parts of characters can overhang the layout box.
@ DirectionVertical
Text is vertically alligned.
@ NoWrap
Text wrapping is disabled.
@ DirectionRightToLeft
Right-to-left text direction.
@ NoClip
Overhanging parts of glyphs are allowed to show.
@ MeasureTrailingSpaces
Inserts the trailing space at the end of each line.
@ NoFontFallback
Font fallback is disabled.
Definition: db_command.h:9