[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.OMathFormat

OMathFormat Class

Represents Office Math formatting for a run if its IsOMathRun property is set to true.

Inheritance
OMathFormat
Namespace: GrapeCity.Documents.Word
Assembly: DS.Documents.Word.dll
Syntax
public class OMathFormat
Public Class OMathFormat

Properties

Name Description
BreakAt

Gets or sets whether there is a line break at the start of the Office Math run, such that the line wraps at the start of the Office Math run.

If IsNormalText is true, the returned value is always -1.

Allowed values are from -1 to 255, inclusive.

When the value is -1, the Office Math run does not manually break onto the next line.

When the value is 0, the Office Math run manually breaks onto the next line and is aligned with the beginning of the previous line.

When the value is greater than 0, the Office Math run manually breaks onto the next line and is aligned with the specified index of the operator on the previous line.

Default value is -1.

IsAlignmentPoint

Gets or sets whether the Office Math run is an alignment point. If true, the designated alignment points in other equations can be aligned with it.

If IsNormalText is true, the returned value is always false.

The default value is false.

IsLiteral

Gets or sets whether that characters in the Office Math run are literal.

The default value is false, meaning that they are to be interpreted literally and not be built up based on any implied mathematical meaning.

IsNormalText

Gets or sets whether the Office Math run is normal text, so properties Script, IsAlignmentPoint, BreakAt and Font are ignored.

The default value is false.

Script

Gets or sets the script applied to the characters in the Office Math run.

If IsNormalText is true, the returned value is always None.

The default value is Roman.

Methods

Name Description
Equals(object)
GetHashCode()