• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class OfficeMath

Represents an Office Open XML math equation embedded in a paragraph.

Inheritance
object
OfficeMath
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
Namespace: DRIT.Document
Assembly: DRIT.Document.dll
Syntax
public sealed class OfficeMath

Constructors

OfficeMath(string)

Initializes an inline office math equation with the specified text.

Declaration
public OfficeMath(string text = null)
Parameters
Type Name Description
string text

The equation text.

Properties

DisplayType

Gets or sets whether the equation is inline or displayed as a separate block.

Declaration
public OfficeMathDisplayType DisplayType { get; set; }
Property Value
Type Description
OfficeMathDisplayType

Justification

Gets or sets the display justification.

Declaration
public OfficeMathJustification Justification { get; set; }
Property Value
Type Description
OfficeMathJustification

Text

Gets or sets the readable text extracted from the equation's math text nodes. Setting this value replaces the equation body with plain OMML text nodes.

Declaration
public string Text { get; set; }
Property Value
Type Description
string

Type

Gets the OMML container type.

Declaration
public MathObjectType Type { get; }
Property Value
Type Description
MathObjectType
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX