Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

OfficeMathRenderer

Namespace OfficeIMO.Drawing
Assembly OfficeIMO.Core
Modifiers static

Renders the shared mathematical expression tree into the shared drawing scene.

Inheritance

  • Object
  • OfficeMathRenderer

Methods

public static OfficeMathLayoutMetrics AddToDrawing(OfficeDrawing drawing, OfficeMathExpression expression, Double x, Double y, OfficeMathRenderOptions options = null) #
Returns: OfficeMathLayoutMetrics

Adds a laid-out expression to an existing drawing.

Parameters

drawing OfficeIMO.Drawing.OfficeDrawing requiredposition: 0
expression OfficeIMO.Drawing.OfficeMathExpression requiredposition: 1
x System.Double requiredposition: 2
y System.Double requiredposition: 3
options OfficeIMO.Drawing.OfficeMathRenderOptions = null optionalposition: 4
public static OfficeMathLayoutMetrics Measure(OfficeMathExpression expression, OfficeMathRenderOptions options = null) #
Returns: OfficeMathLayoutMetrics

Measures an expression using deterministic, dependency-free font metrics.

Parameters

expression OfficeIMO.Drawing.OfficeMathExpression requiredposition: 0
options OfficeIMO.Drawing.OfficeMathRenderOptions = null optionalposition: 1
public static OfficeDrawing Render(OfficeMathExpression expression, OfficeMathRenderOptions options = null) #
Returns: OfficeDrawing

Creates a tightly sized drawing containing an expression.

Parameters

expression OfficeIMO.Drawing.OfficeMathExpression requiredposition: 0
options OfficeIMO.Drawing.OfficeMathRenderOptions = null optionalposition: 1