[]
Represents Office Math formatting for a run if its IsOMathRun property is set to true.
public class OMathFormat
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; }
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; }
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; }
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; }
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; }
public override bool Equals(object obj)
obj
objectpublic override int GetHashCode()