API Reference
Class
OfficeRichTextBlockLayout
Describes a measured bounded rich text block.
Inheritance
- Object
- OfficeRichTextBlockLayout
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Method OfficeTextLayoutEngine.LayoutRichTextBlock
- Method OfficeTextLayoutEngine.LayoutRichTextBlock
- Method OfficeTextLayoutEngine.LayoutRichTextBlock
- Method OfficeTextLayoutEngine.LayoutRichTextBlock
- Method OfficeTextLayoutEngine.LayoutRichTextBlock
- Method OfficeTextLayoutEngine.LayoutStackedRichTextBlock
- Method OfficeTextLayoutEngine.LayoutStackedRichTextBlock
Accepted by parameters
Constructors
public OfficeRichTextBlockLayout(IReadOnlyList<OfficeRichTextLine> lines, Double lineHeight, Double width, Double height, Boolean clipped = false) #Creates a measured rich text block.
Parameters
- lines System.Collections.Generic.IReadOnlyList{OfficeIMO.Drawing.OfficeRichTextLine}
- lineHeight System.Double
- width System.Double
- height System.Double
- clipped System.Boolean = false
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public IReadOnlyList<OfficeRichTextLine> Lines { get; } #Gets the visible measured lines.
public Double LineHeight { get; } #Gets the shared line height used to place lines in the block.
public Double Width { get; } #Gets the measured block width.
public Double Height { get; } #Gets the measured block height.
public Boolean Clipped { get; } #Gets whether the block was ellipsized or clipped.