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:
public class ParagraphLineSegmentInfo
Inheritance: objectParagraphLineSegmentInfo
Constructors
Properties
Gets the count of annotations associated with the paragraph line segment.
public int AnnotationsCount { get; }
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.
public int AnnotationsCountNotAdded { get; }
Represents the change in layout for a paragraph line segment.
public float ArrangeDelta { get; }
Gets or sets the starting X-coordinate for the arrangement of the paragraph line segment.
public float ArrangeStartX { get; }
Gets the total number of characters in the paragraph line segment.
public int CharactersCount { get; }
The count of characters present in the paragraph line segment.
Gets a value indicating whether this segment is the starting segment of a paragraph line.
public bool IsStartSegment { get; }
True if this segment is the starting segment; otherwise, false.
Gets the index of the last word in the paragraph line segment.
public int LastWordIndex { get; }
The index of the last word within the paragraph line segment.
Gets the index of the last word in the current paragraph line segment.
public int LastWordIndexInSegment { get; }
The index of the last word in the segment.
Gets the paragraph associated with the current line segment information.
public Paragraph Paragraph { get; }
Count of the gaps that are caused by single symbol characters
public int SingleSymbolGapsCount { get; set; }
Gets the starting X-coordinate of the line segment in the paragraph layout information.
public float StartX { get; }
A double representing the starting X-coordinate in the layout.
Gets the total width of the paragraph line segment.
public float TotalWidth { get; }
The total width of the current paragraph line segment as a double.