Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

OfficeMathRenderOptions

OfficeIMO.Drawing

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

Settings for dependency-free mathematical layout and drawing.

Inheritance

  • object
  • OfficeMathRenderOptions

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.

Returned or exposed by 1

Accepted by parameters 3

Constructors

public OfficeMathRenderOptions() #

Methods

public OfficeMathRenderOptions Clone() #

Creates a detached copy.

Properties

public OfficeFontInfo Font { get; set; } #

Base mathematical font, whose size is expressed in points.

public OfficeColor Color { get; set; } #

Foreground color.

public OfficeColor? BackgroundColor { get; set; } #

Optional canvas background.

public double Padding { get; set; } #

Padding around the expression in drawing units.

public bool UseFontMathMetrics { get; set; } #

Uses available static OpenType MATH constants for supported geometry. Disable to use caller-supplied script and rule settings throughout.

public double ScriptScale { get; set; } #

Fallback relative scale applied to scripts, limits, and root indices.

public double RuleGap { get; set; } #

Fallback minimum gap around compact fraction and decoration rules. Display fractions use three times this gap.

public double RuleThickness { get; set; } #

Fallback thickness of fraction and bar rules; thickness of radical and box rules.

public double MatrixGap { get; set; } #

Horizontal and vertical gap between matrix cells.

public double Dpi { get; set; } #

Point-to-drawing-unit density used by both measurement and paint. The default 72 keeps one drawing unit per font point.

public bool DisplayStyle { get; set; } #

Uses display fractions with full-size children. Compact fractions and fractions inside scripts use available font script percentages or the fallback OfficeMathRenderOptions.ScriptScale.

public OfficeFontFaceCollection Fonts { get; set; } #

Scoped font programs used for deterministic advances and painted glyph bounds.