TextLine
Class
Stores the formatted segments and measured layout data for one rendered text line.
Definition
Namespace:Telerik.WinControls.TextPrimitiveUtils
Assembly:Telerik.WinControls.dll
Syntax:
C#
public class TextLine
Inheritance: objectTextLine
Constructors
Creates an empty line with an empty segment list and zero measured size.
C#
public TextLine()
Properties
Gets or sets the measured width and height assigned to this line.
C#
public SizeF LineSize { get; set; }
List
List<FormattedText>
Gets or replaces the mutable formatted segments in this line.
C#
public List<FormattedText> List { get; set; }
Methods
Gets the alignment of the first segment, or MiddleLeft when the line is empty.
Gets the offset of the first segment, or zero when the line is empty.