Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

OfficeTextShapingResult

Namespace OfficeIMO.Drawing
Assembly OfficeIMO.Core
Modifiers sealed

A shaped glyph run in visual write order.

Inheritance

  • Object
  • OfficeTextShapingResult

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

OfficeTextShapingResult 2 overloads
public OfficeTextShapingResult(IEnumerable<OfficeShapedGlyph> glyphs) #

Creates an immutable result from shaped glyph mappings.

Parameters

glyphs System.Collections.Generic.IEnumerable{OfficeIMO.Drawing.OfficeShapedGlyph} requiredposition: 0
public OfficeTextShapingResult(IEnumerable<OfficeShapedGlyph> glyphs, OfficeTextDirection direction) #

Creates an immutable result from shaped glyph mappings and their resolved write direction.

Parameters

glyphs System.Collections.Generic.IEnumerable{OfficeIMO.Drawing.OfficeShapedGlyph} requiredposition: 0
direction OfficeIMO.Drawing.OfficeTextDirection requiredposition: 1

Properties

public IReadOnlyList<OfficeShapedGlyph> Glyphs { get; } #

Glyph identifiers, source mappings, advances, and offsets.

public OfficeTextDirection Direction { get; } #

Resolved write direction. Auto preserves the legacy direction-neutral result contract.