Class ParagraphLineInfo
Represents the line information of a paragraph within a document layout.
Inheritance
Namespace: Telerik.Windows.Documents.Layout
Assembly: Telerik.Windows.Controls.RichTextBox.dll
Syntax
public class ParagraphLineInfo : Object
Constructors
ParagraphLineInfo(ParagraphLineInfo)
Declaration
public ParagraphLineInfo(ParagraphLineInfo paragraphLineInfo)
Parameters
ParagraphLineInfo
paragraphLineInfo
|
ParagraphLineInfo(Paragraph)
Properties
BaselineOffset
Gets or sets the baseline offset of the paragraph line.
Declaration
public float BaselineOffset { get; }
Property Value
System.Single
|
FirstInlineBox
Gets the first inline box in the paragraph line information.
Declaration
public InlineLayoutBox FirstInlineBox { get; set; }
Property Value
InlineLayoutBox
|
FloatingBoxSpacingBefore
Gets or sets the spacing before the floating box in the paragraph line information.
Declaration
public float FloatingBoxSpacingBefore { get; }
Property Value
System.Single
|
HasOverflowCharacter
Gets a value indicating whether the paragraph line contains an overflow character.
Declaration
public bool HasOverflowCharacter { get; }
Property Value
System.Boolean
|
Height
Gets the height of the paragraph line information.
Declaration
public float Height { get; }
Property Value
System.Single
|
IndexInParagraph
Gets the index of the paragraph in which this line resides.
Declaration
public int IndexInParagraph { get; }
Property Value
System.Int32
|
IsLineSplitByFloatingBox
Gets a value indicating whether the line is split by a floating box.
Declaration
public bool IsLineSplitByFloatingBox { get; }
Property Value
System.Boolean
|
LastWordIndex
Gets the index of the last word in the paragraph line information.
Declaration
public int LastWordIndex { get; }
Property Value
System.Int32
|
Paragraph
Represents the paragraph associated with the paragraph line information.
Declaration
public Paragraph Paragraph { get; }
Property Value
Paragraph
|
TralingExtraSpaceWidth
Gets the width of the trailing extra space in the paragraph line information.
Declaration
public float TralingExtraSpaceWidth { get; }
Property Value
System.Single
|
Width
Gets the width of the paragraph line information.
Declaration
public float Width { get; }
Property Value
System.Single
|
WordCount
Gets the number of words in the paragraph line.
Declaration
public int WordCount { get; }
Property Value
System.Int32
|
Methods
UpdateBaselineOffset(Single, Boolean)
Updates the baseline offset of the paragraph line information.
Declaration
public void UpdateBaselineOffset(float value, bool affectsLineSpacing)
Parameters
System.Single
value
The new baseline offset to set. |
System.Boolean
affectsLineSpacing
Indicates whether the offset is relative to the current baseline. |
UpdateDescent(Single, Boolean)
Updates the descent information for the paragraph line.
Declaration
public void UpdateDescent(float value, bool affectsLineSpacing)
Parameters
System.Single
value
The descent value to be set. |
System.Boolean
affectsLineSpacing
Indicates whether the update is due to a line break. |