Class OfficeMath
Represents an Office Open XML math equation embedded in a paragraph.
Inherited Members
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 |