[]
        
(Showing Draft Content)

C1.WPF.RichTextBox.C1LineFragment

C1LineFragment Class

Represents a fragment of a C1Line. Its always associated with one C1TextElement

Inheritance
C1LineFragment
Namespace: C1.WPF.RichTextBox
Assembly: C1.WPF.RichTextBox.dll
Syntax
public class C1LineFragment

Properties

Name Description
Baseline

Gets the distance between the top of this C1LineFragment and its baseline.

Element

The C1TextElement contained in this C1LineFragment.

End

Gets the end position of this C1LineFragment.

Height

Gets the height, in pixels, of this C1LineFragment

Left

Gets the left coordinate, in document coordinates, of this C1LineFragment.

RelativeTop

Gets the top coordinate, in line coordinates, of this C1LineFragment.

Start

Gets the start position of this C1LineFragment.

Top

Gets the top coordinate, in document coordinates, of this C1LineFragment.

View

Gets the C1TextElementView of the associated C1TextElement.

Width

Gets the width, in pixels, of this C1LineFragment.

XHeight

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

Methods

Name Description
Measure(int, int)

Returns the width of this fragment between two C1TextPointer offsets.