Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Struct

OfficeTextScriptGeometry

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

Resolved fixed-layout geometry for a cumulative superscript or subscript level.

Inheritance

  • ValueType
  • OfficeTextScriptGeometry

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

Methods

public static OfficeTextScriptGeometry Resolve(Double sourceFontSize, Int32 baselineLevel, Double superscriptOffsetFactor = 0.3, Double subscriptOffsetFactor = 0.15) #
Returns: OfficeTextScriptGeometry

Resolves cumulative script geometry using the supplied destination-specific offset factors.

Parameters

sourceFontSize System.Double requiredposition: 0
baselineLevel System.Int32 requiredposition: 1
superscriptOffsetFactor System.Double = 0.3 optionalposition: 2
subscriptOffsetFactor System.Double = 0.15 optionalposition: 3

Properties

public Double RenderedFontSize { get; } #

Gets the font size after every nested script reduction has been applied.

public Double BaselineOffset { get; } #

Gets the cumulative top-down baseline offset; negative values raise text.