Style

Style class

This class contains common properties of ParagraphStyle and TextStyle classes.

public class Style

Properties

Name Description
FontColor { get; set; } Gets or sets the font color.
FontName { get; set; } Gets or sets the font name.
FontSize { get; set; } Gets or sets the font size.
FontStyle { get; } Gets the font style.
Highlight { get; set; } Gets or sets the highlight color.
IsBold { get; set; } Gets or sets a value indicating whether the text style is bold.
IsItalic { get; set; } Gets or sets a value indicating whether the text style is italic.
IsStrikethrough { get; set; } Gets or sets a value indicating whether the text style is strikethrough.
IsSubscript { get; set; } Gets or sets a value indicating whether the text style is subscript.
IsSuperscript { get; set; } Gets or sets a value indicating whether the text style is superscript.
IsUnderline { get; set; } Gets or sets a value indicating whether the text style is underline.

Methods

Name Description
override GetHashCode() Serves as a hash function for the type.

See Also