The Inline
public sealed class InlineStyle : FormattingStylePublic NotInheritable Class InlineStyle
Inherits FormattingStyle Introduced: 10.1.
The following example shows how to add and apply an Inline
textControl1.Text = "TX Text Control";
TXTextControl.InlineStyle inline = new TXTextControl.InlineStyle("ArialBold16");
inline.Bold = true;
inline.FontSize = 320;
inline.FontName = "Arial";
textControl1.InlineStyles.Add(inline);
textControl1.Select(3, 4);
textControl1.Selection.FormattingStyle = "ArialBold16";TextControl1.Text = "TX Text Control"
Dim inline As TXTextControl.InlineStyle = New TXTextControl.InlineStyle("ArialBold16")
inline.Bold = True
inline.FontSize = 320
inline.FontName = "Arial"
TextControl1.InlineStyles.Add(inline)
TextControl1.Select(3, 4)
TextControl1.Selection.FormattingStyle = "ArialBold16"| Constructor | Description |
|---|---|
| Inline |
Creates a new instance of the Inline |
| Enumeration | Description |
|---|---|
| Attributes | Determines the style's attributes. |
| Method | Description |
|---|---|
| Apply | Applies all set attributes of the style to the current document.
(Inherited from Formatting |
| Is |
Informs about whether one or more of the style's attributes are inherited from the surrounding paragraph. |
| Reset |
Resets one or more of the style's attributes to its default value which is the same value as defined for the surrounding paragraph. |
| Property | Description |
|---|---|
| Auto |
Gets or sets values specifying automatic sub- or superscripted text.
(Inherited from Formatting |
| Base |
Gets the Formatting (Inherited from Formatting |
| Baseline | Gets or sets a user-defined baseline alignment, in twips, of the style.
(Inherited from Formatting |
| Bold | Gets or sets the bold attribute of the style.
(Inherited from Formatting |
| Capitals | Gets or sets values specifying wheather lowercase letters are displayed with capital letters.
(Inherited from Formatting |
| Character |
Gets or sets the style's character scaling, in percent of the average character width.
(Inherited from Formatting |
| Character |
Gets or sets the style's character spacing value, in twips.
(Inherited from Formatting |
| Culture | Gets or sets the style's culture.
(Inherited from Formatting |
| Font |
Gets or sets the font of the style.
(Inherited from Formatting |
| Font |
Gets or sets the font's size of the style.
(Inherited from Formatting |
| Fore |
Gets or sets the style's color used to display the text.
(Inherited from Formatting |
| Italic | Gets or sets the italic attribute of the style.
(Inherited from Formatting |
| Name | Gets or sets the name of the style.
(Inherited from Formatting |
| Strikeout | Gets or sets the strikeout attribute of the style.
(Inherited from Formatting |
| Text |
Gets or sets the style's text background color.
(Inherited from Formatting |
| Underline | Gets or sets underlining styles for the style.
(Inherited from Formatting |