New to Telerik UI for WPFStart a free 30-day trial

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:

C#
public class ParagraphLineSegmentInfo

Inheritance: objectParagraphLineSegmentInfo

Constructors

C#
public ParagraphLineSegmentInfo(Paragraph paragraph, float segmentStartX)
Parameters:paragraphParagraphsegmentStartXfloat

Properties

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

C#
public int AnnotationsCount { get; }
Property Value:

The number of annotations present in the paragraph line segment.

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

C#
public int AnnotationsCountNotAdded { get; }

Represents the change in layout for a paragraph line segment.

C#
public float ArrangeDelta { get; }

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

C#
public float ArrangeStartX { get; }

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

C#
public int CharactersCount { get; }
Property Value:

The count of characters present in the paragraph line segment.

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

C#
public float Gap { get; }

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

C#
public bool IsStartSegment { get; }
Property Value:

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

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

C#
public int LastWordIndex { get; }
Property Value:

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

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

C#
public int LastWordIndexInSegment { get; }
Property Value:

The index of the last word in the segment.

Gets the paragraph associated with the current line segment information.

C#
public Paragraph Paragraph { get; }

Count of the gaps that are caused by single symbol characters

C#
public int SingleSymbolGapsCount { get; set; }

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

C#
public float StartX { get; }
Property Value:

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

Gets the total width of the paragraph line segment.

C#
public float TotalWidth { get; }
Property Value:

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

Gets the width of the paragraph line segment.

C#
public float Width { get; }

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

C#
public int WordCount { get; }