[]
        
(Showing Draft Content)

C1.WPF.RichTextBox.C1Line

C1Line Class

Represents a line of text generated by a C1FlowView.

Inheritance
C1Line
Namespace: C1.WPF.RichTextBox
Assembly: C1.WPF.RichTextBox.4.6.2.dll
Syntax
public class C1Line
Remarks

A line contains a collection of C1LineFragments. Each line fragment contains a section of a C1TextElement, this may be a run of text, or a whole C1Block.

Properties

Name Description
Baseline

Gets the distance between the top of the C1Line and its baseline.

Fragments

Gets the collection of fragments contained in this line.

Height

Gets the height of this C1Line.

Left

Gets the left coordinate of this C1Line relative to the document.

Next

Gets the next line in the same C1FlowView, or null if it is the last.

Parent

Gets the C1FlowView that created this line.

Previous

Gets the previous line in the same C1FlowView, or null if it is the first.

RelativeLeft

Gets the left coordinate of this C1Line relative to its Parent.

RelativeTop

Gets the top coordinate of this C1Line relative to its Parent.

Top

Gets the top coordinate of this C1Line relative to the document.

TotalWidth

Gets the width of this C1Line including whitespaces at the end.

Width

Gets the width of this C1Line excluding whitespaces at the end.

XHeight

Gets the distance between the top of the C1Line and its x-height.