Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Struct

OfficeTextMetrics

OfficeIMO.Drawing

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

Deterministic text measurement result in pixels.

Inheritance

  • ValueType
  • OfficeTextMetrics

Usage

Explore 1 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 1

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.