Inherits SystemIDisposable.
Public Types | |
enum | Flags { Flags.e_FlagFont = 0x0001, Flags.e_FlagTextColor = 0x0002, Flags.e_FlagFontSize = 0x0004 } |
Enumeration for default appearance flags. More... | |
Public Member Functions | |
DefaultAppearance (int flags, Font font, float text_size, int text_color) | |
Constructor, with parameters. More... | |
DefaultAppearance () | |
Constructor. | |
DefaultAppearance (DefaultAppearance default_appearance) | |
Constructor, with another DefaultAppearance. | |
void | Set (int flags, Font font, float text_size, int text_color) |
Set value. More... | |
This class represents default appearance data, which is used for free text annotation and form.
|
strong |
Enumeration for default appearance flags.
Values of this enumeration can be used alone or in combination.
|
inline |
Constructor, with parameters.
flags | Flags to indicate which properties of DefaultAppearance are meaningful. Please refer to e_FlagXXX values and this can be one or a combination of these values. |
font | A valid Font object for default appearance when parameter flags includes e_FlagFont. |
text_size | Font size for default appearance. Please ensure this is above 0 when parameter flags includes {}. |
text_color | Text color for default appearance. Format: 0xRRGGBB. |
|
inline |
Set value.
flags | Flags to indicate which properties of DefaultAppearance are meaningful. Please refer to e_FlagXXX values and this can be one or a combination of these values. |
font | Font for default appearance. Please ensure this is a valid Font object when parameter flags includes {}. |
text_size | Text size for default appearance. Please ensure this is above 0 when parameter flags includes {}. |
text_color | Text color for default appearance. Format: 0xRRGGBB. |