Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

OfficeRichTextBlockLayout

OfficeIMO.Drawing

Namespace
OfficeIMO.Drawing
Assembly
OfficeIMO.Core
Source revision
ba882f6b0d07 with working tree changes
Modifiers
sealed

Describes a measured bounded rich text block.

Inheritance

  • object
  • OfficeRichTextBlockLayout

Usage

Explore 4 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.

Accepted by parameters 2

Constructors

public OfficeRichTextBlockLayout(IReadOnlyList<OfficeRichTextLine> lines, double lineHeight, double width, double height, bool clipped = false) #

Creates a measured rich text block.

Parameters

lines System.Collections.Generic.IReadOnlyList<OfficeIMO.Drawing.OfficeRichTextLine> required
lineHeight double required
width double required
height double required
clipped bool = false optional

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 bool Clipped { get; } #

Gets whether the block was ellipsized or clipped.