API Reference
Class
OfficeTextBlockLayout
Represents a measured multi-line text block produced by the shared text layout engine.
Inheritance
- Object
- OfficeTextBlockLayout
Usage
Explore 12 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 6
Accepted by parameters 6
- Method OfficeTextBlockRenderer.AppendSvgStyledTextBlock
- Method OfficeTextBlockRenderer.AppendSvgTextBlock
- Method OfficeTextBlockRenderer.DrawRasterTextBlock
- Method OfficeTextBlockRenderer.WriteSvgTextBlock
- Method OfficeTextBlockRenderPlan.CreateFromCenter
- Method OfficeTextBlockRenderPlan.CreateFromRectangle
Constructors
public OfficeTextBlockLayout(IReadOnlyList<OfficeTextLine> lines, Double fontSize, Double lineHeight, Double width, Double height, Boolean clipped = false) #Creates a measured text block.
Parameters
- lines System.Collections.Generic.IReadOnlyList<OfficeIMO.Drawing.OfficeTextLine>
- Measured text lines.
- fontSize System.Double
- Resolved font size used for measurement.
- lineHeight System.Double
- Resolved line height.
- width System.Double
- Measured block width.
- height System.Double
- Measured block height.
- clipped System.Boolean = false
- Whether the block was clipped or ellipsized to fit a requested bound.
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?