Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

OfficeMathExpression

Namespace OfficeIMO.Drawing
Assembly OfficeIMO.Core
Implements
IEquatable<OfficeMathExpression>
Modifiers sealed

An immutable node in a reusable mathematical expression tree.

Inheritance

  • Object
  • OfficeMathExpression

Usage

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

Accepted by parameters

Methods

Equals 2 overloads
public virtual Boolean Equals(OfficeMathExpression other) #
Returns: Boolean

Parameters

other OfficeIMO.Drawing.OfficeMathExpression requiredposition: 0
public override Boolean Equals(Object obj) #
Returns: Boolean

Parameters

obj System.Object requiredposition: 0
public override Int32 GetHashCode() #
Returns: Int32
public String ToPlainText() #
Returns: String

Returns a readable plain-text projection.

public override String ToString() #
Returns: String
public OfficeMathExpression TransformTextCase(OfficeTextCase textCase, CultureInfo culture = null) #
Returns: OfficeMathExpression

Returns a structurally equivalent expression with cased text and identifier tokens transformed.

Parameters

textCase OfficeIMO.Drawing.OfficeTextCase requiredposition: 0
Transformation to apply.
culture System.Globalization.CultureInfo = null optionalposition: 1
Culture used for casing. The current culture is used when omitted.

Properties

public OfficeMathKind Kind { get; } #

Node kind.

public String Text { get; } #

Token text for text, identifier, number, operator, or function nodes.

public String Character { get; } #

Primary delimiter, accent, or n-ary operator character.

public String SecondaryCharacter { get; } #

Secondary delimiter character.

public String SeparatorCharacter { get; } #

Separator used by a delimiter list.

public IReadOnlyList<OfficeMathExpression> Children { get; } #

Child expressions in semantic order.

public OfficeMathExpression NaryLowerLimit { get; } #

Lower limit for an n-ary expression, or null when omitted.

public OfficeMathExpression NaryUpperLimit { get; } #

Upper limit for an n-ary expression, or null when omitted.

public Int32 RowCount { get; } #

Row count for matrix-like structures.

public Int32 ColumnCount { get; } #

Column count for matrix-like structures.