Class
OfficeTextBlockLayout
OfficeIMO.Drawing
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, bool clipped = false) #Creates a measured text block.
Parameters
- lines System.Collections.Generic.IReadOnlyList<OfficeIMO.Drawing.OfficeTextLine>
- Measured text lines.
- fontSize double
- Resolved font size used for measurement.
- lineHeight double
- Resolved line height.
- width double
- Measured block width.
- height double
- Measured block height.
- clipped bool = false
- Whether the block was clipped or ellipsized to fit a requested bound.