Class
ParagraphLineSegmentInfo

Represents information about a segment of a paragraph line in a document layout.

Definition

Namespace:Telerik.Windows.Documents.Layout

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

cs-api-definition
public class ParagraphLineSegmentInfo

Inheritance: objectParagraphLineSegmentInfo

Constructors

ParagraphLineSegmentInfo(Paragraph, float)

Declaration

cs-api-definition
public ParagraphLineSegmentInfo(Paragraph paragraph, float segmentStartX)

Parameters

paragraph

Paragraph

segmentStartX

float

Properties

AnnotationsCount

Gets the count of annotations associated with the paragraph line segment.

Declaration

cs-api-definition
public int AnnotationsCount { get; }

Property Value

int

The number of annotations present in the paragraph line segment.

AnnotationsCountNotAdded

Gets the number of annotations that have not been added to the paragraph line segment.

Declaration

cs-api-definition
public int AnnotationsCountNotAdded { get; }

Property Value

int

ArrangeDelta

Represents the change in layout for a paragraph line segment.

Declaration

cs-api-definition
public float ArrangeDelta { get; }

Property Value

float

ArrangeStartX

Gets or sets the starting X-coordinate for the arrangement of the paragraph line segment.

Declaration

cs-api-definition
public float ArrangeStartX { get; }

Property Value

float

CharactersCount

Gets the total number of characters in the paragraph line segment.

Declaration

cs-api-definition
public int CharactersCount { get; }

Property Value

int

The count of characters present in the paragraph line segment.

Gap

Gets the gap between two line segments in a paragraph layout.

Declaration

cs-api-definition
public float Gap { get; }

Property Value

float

IsStartSegment

Gets a value indicating whether this segment is the starting segment of a paragraph line.

Declaration

cs-api-definition
public bool IsStartSegment { get; }

Property Value

bool

True if this segment is the starting segment; otherwise, false.

LastWordIndex

Gets the index of the last word in the paragraph line segment.

Declaration

cs-api-definition
public int LastWordIndex { get; }

Property Value

int

The index of the last word within the paragraph line segment.

LastWordIndexInSegment

Gets the index of the last word in the current paragraph line segment.

Declaration

cs-api-definition
public int LastWordIndexInSegment { get; }

Property Value

int

The index of the last word in the segment.

Paragraph

Gets the paragraph associated with the current line segment information.

Declaration

cs-api-definition
public Paragraph Paragraph { get; }

Property Value

Paragraph

SingleSymbolGapsCount

Count of the gaps that are caused by single symbol characters

Declaration

cs-api-definition
public int SingleSymbolGapsCount { get; set; }

Property Value

int

StartX

Gets the starting X-coordinate of the line segment in the paragraph layout information.

Declaration

cs-api-definition
public float StartX { get; }

Property Value

float

A double representing the starting X-coordinate in the layout.

TotalWidth

Gets the total width of the paragraph line segment.

Declaration

cs-api-definition
public float TotalWidth { get; }

Property Value

float

The total width of the current paragraph line segment as a double.

Width

Gets the width of the paragraph line segment.

Declaration

cs-api-definition
public float Width { get; }

Property Value

float

WordCount

Gets the total number of words in the paragraph line segment.

Declaration

cs-api-definition
public int WordCount { get; }

Property Value

int