Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Struct

OfficeTextMetrics

Namespace OfficeIMO.Drawing
Assembly OfficeIMO.Core
Base ValueType
Modifiers sealed

Deterministic text measurement result in pixels.

Inheritance

  • ValueType
  • OfficeTextMetrics

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by

Properties

public Double WidthPixels { get; } #

Estimated text width in pixels.

public Double LineHeightPixels { get; } #

Estimated single-line height in pixels.

public Double SpaceWidthPixels { get; } #

Estimated width of a space character in pixels.

public Double MaximumDigitWidthPixels { get; } #

Estimated maximum digit width in pixels.