Apitron.PDF.Kit library for .NET
SystemObject
Apitron.PDF.Kit.Interactive.Annotations.RichTextRichTextStyle
Assembly: Apitron.PDF.Kit (in Apitron.PDF.Kit.dll) Version: 2.0.37.0 (2.0.37.0)
Top
Top
This class represents a rich text style.
Inheritance Hierarchy
Apitron.PDF.Kit.Interactive.Annotations.RichTextRichTextStyle
Namespace: Apitron.PDF.Kit.Interactive.Annotations.RichText
Assembly: Apitron.PDF.Kit (in Apitron.PDF.Kit.dll) Version: 2.0.37.0 (2.0.37.0)
Syntax
The RichTextStyle type exposes the following members.
Constructors
Name | Description | |
---|---|---|
RichTextStyle |
Creates a new instance of RichTextStyle.
|
Properties
Name | Description | |
---|---|---|
Color |
Gets or sets the colour of the enclosed text.
| |
FontFamily |
Gets or sets a font name or list(separated by ;) of font names that shall be used to display the enclosed text. (If a list is provided, the first one containing glyphs for the specified text shall be used.)
| |
FontSize |
Gets or sets the font size of the enclosed text.
| |
FontStretch |
Gets or sets a font stretch for the enclosed text. The values are the following: a normal, condensed or extended face from a font family.
Supported values from narrowest to widest are ultra-condensed,
extra-condensed, condensed, semi-condensed, normal, semi-expanded, expanded, extra-expanded, and ultra-expanded.
| |
FontStyle |
Gets or sets specifies the font style of the enclosed text. Possible values: normal, italic.
| |
FontWeight |
Gets or sets the weight of the font for the enclosed text. Possible values: normal, bold, 100, 200, 300, 400, 500, 600, 700, 800, 900.
normal is equivalent to 400, and bold is equivalent to 700.
| |
TextAlign |
Gets or sets horizontal alignment. Possible values: left, right, and center.
| |
TextDecoration |
Gets or sets the text decoration.
| |
VerticalAlign |
Gets or sets an amount by which to adjust the baseline of the enclosed text. A positive value indicates a superscript; a negative value indicates a subscript.
|
See Also