[]
        
(Showing Draft Content)

C1.WPF.RichTextBox.Documents.C1TextDecoration

C1TextDecoration Class

Represents a text decoration, which a visual ornamentation that is added to text (such as an underline).

Inheritance
C1TextDecoration
Namespace: C1.WPF.RichTextBox.Documents
Assembly: C1.WPF.RichTextBox.dll
Syntax
public class C1TextDecoration
Remarks

All text decorations are lines drawn horizontally above the text. The vertical location of the line can be customized using the Location property, and its style can be set with the Style property.

Constructors

Name Description
C1TextDecoration()

Initializes a new C1TextDecoration object.

Properties

Name Description
Location

Gets or sets a value of C1TextDecorationLocation that defines the vertical position of this C1TextDecoration.

LocationOffset

Gets or sets the offset from the vertical position defined in the Location property.

LocationOffsetUnit

Gets or sets a value of C1TextDecorationUnit that defines the unit used for the LocationOffset property.

Style

Gets or sets a Style.

Thickness

Gets or sets the Thickness of the line drawn by this C1TextDecoration.

ThicknessUnit

Gets or sets a value of C1TextDecorationUnit that defines the unit used for the Thickness property.