Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

OfficeRichTextBlockLayout

Namespace OfficeIMO.Drawing
Assembly OfficeIMO.Core
Modifiers sealed

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.

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} requiredposition: 0
lineHeight System.Double requiredposition: 1
width System.Double requiredposition: 2
height System.Double requiredposition: 3
clipped System.Boolean = false optionalposition: 4

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.