[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.OMathFormat

Class OMathFormat

Namespace
GrapeCity.Documents.Word
Assembly
GcDocs.Word.dll

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

public class OMathFormat
Inheritance
object
OMathFormat
Inherited Members
object.ToString()
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetType()
object.MemberwiseClone()

Properties

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.

public int BreakAt { get; set; }

Property Value

int

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.

public bool IsAlignmentPoint { get; set; }

Property Value

bool

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.

public bool IsLiteral { get; set; }

Property Value

bool

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.

public bool IsNormalText { get; set; }

Property Value

bool

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.

public OMathScript Script { get; set; }

Property Value

OMathScript

Methods

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int