RichTextStyle Class

Apitron PDF Kit help
Apitron.PDF.Kit library for .NET
This class represents a rich text style.
Inheritance Hierarchy

SystemObject
  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

public sealed class RichTextStyle

The RichTextStyle type exposes the following members.

Constructors

  NameDescription
Public methodRichTextStyle
Creates a new instance of RichTextStyle.
Top
Properties

  NameDescription
Public propertyColor
Gets or sets the colour of the enclosed text.
Public propertyFontFamily
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.)
Public propertyFontSize
Gets or sets the font size of the enclosed text.
Public propertyFontStretch
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.
Public propertyFontStyle
Gets or sets specifies the font style of the enclosed text. Possible values: normal, italic.
Public propertyFontWeight
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.
Public propertyTextAlign
Gets or sets horizontal alignment. Possible values: left, right, and center.
Public propertyTextDecoration
Gets or sets the text decoration.
Public propertyVerticalAlign
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.
Top
See Also

Reference