Name | Description | |
---|---|---|
FontSubSet.TextFormat Constructor | Initializes a new instance of FontSubSet.TextFormat. |
The following tables list the members exposed by FontSubSet.TextFormat.
Name | Description | |
---|---|---|
FontSubSet.TextFormat Constructor | Initializes a new instance of FontSubSet.TextFormat. |
Name | Description | |
---|---|---|
BackColor | Gets or sets the text background color. The default is transparent. | |
Font | Gets or sets a Font used by this format.
If not null, this value overrides the FontSubSet.TextFormat.FontName property. | |
FontBold | Gets or sets a value indicating whether the font should be bolded. | |
FontFeatures | Provides access to a set of Microsoft OpenType typography properties. | |
FontItalic | Gets or sets whether the font should be italicized. | |
FontName | Gets or sets a font family name.
This value is used only if the FontSubSet.TextFormat.Font property is null. This value is case insensitive. | |
FontSize | Gets or sets the logical font size, in points or in graphic units.
The defalut value is 12. See also the description of the FontSubSet.TextFormat.FontSizeInGraphicUnits property. | |
FontSizeInGraphicUnits | /// Gets or sets a value indicating whether FontSubSet.TextFormat.FontSize specifies the font size in graphic units or in points. | |
FontStyle | Gets or sets the flags indicating the desired or emulated style of the font. | |
ForeColor | Gets or sets the text foreground color. The default is black. | |
GlyphAdvanceFactor | Gets or sets the scaling factor for the glyph advance value.
Valid values are from 0.5 up. The default is 1. | |
Language | Gets or sets a value identifying the language system. | |
LineGap | Gets or sets a value specifying the explicit line gap (if not null), in graphic units. | |
Script | Gets or sets an OpenType script tag. | |
Strikethrough | Gets or sets a value indicating whether the strikethrough style is applied to the text. | |
Tag | Gets or sets an arbitrary custom data associated with this FontSubSet.TextFormat. | |
TextDecorations | Gets or sets the flags indicating which decorations are applied to the text. | |
TransverseOffset | Gets or sets the offset of the text in the orthogonal direction, in graphic units.
The default is 0. | |
Underline | Gets or sets a value indicating whether the text is underlined. |
Name | Description | |
---|---|---|
CopyTo | Copies the current text format settings to another FontSubSet.TextFormat object. | |
CultureToLanguage | Returns the Language value corresponding to a given System.Globalization.CultureInfo. | |
ScriptCodeToTag | Converts a ScriptCode value to the corresponding FontSubSet.ScriptTag. |