[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.OMathOptions

Class OMathOptions

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

Specifies the various options of displaying an Office Math zone on the document level.

public class OMathOptions : FormattingBag
Inheritance
object
OMathOptions
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Properties

BreakBinaryOperator

Gets or sets how binary operators are treated when they coincide with a line break.

The default value is Before.

public OMathBreakBinaryOperator BreakBinaryOperator { get; set; }

Property Value

OMathBreakBinaryOperator

BreakBinarySubtraction

Gets or sets how the subtraction operator is treated when it coincides with a line break when BreakBinaryOperator is set to Repeat.

The default value is MinusMinus.

public OMathBreakBinarySubtraction BreakBinarySubtraction { get; set; }

Property Value

OMathBreakBinarySubtraction

Font

Gets or sets the default font to be used in the Office Math zone.

The default value is Cambria Math.

Microsoft Word ignores this property if it is set to an empty string or font which is not appropriate for displaying math.

public string Font { get; set; }

Property Value

string

IntegralLimitLocation

Gets or sets the default placement of integral limits in the OMathNary structure.

The default value is SubscriptSuperscript.

public OMathLimitLocation IntegralLimitLocation { get; set; }

Property Value

OMathLimitLocation

Justification

Gets or sets the default justification of OMathParagraph at the document level.

The default value is CenterGroup.

Individual OMathParagraph instances can overrule this property.

This property is ignored when UseDisplayDefaults is false.

public OMathJustification Justification { get; set; }

Property Value

OMathJustification

LeftMargin

Gets or sets the left margin for OMathParagraph, in points.

Allowed values are from 0 to 1584, inclusive.

The default value is 0.

This property is ignored when UseDisplayDefaults is false.

Left margin is added to the paragraph settings for margins.

public float LeftMargin { get; set; }

Property Value

float

NaryLimitLocation

Gets or sets the default placement of n-ary limits other than integrals in the OMathNary structure.

The default value is UnderOver.

public OMathLimitLocation NaryLimitLocation { get; set; }

Property Value

OMathLimitLocation

RightMargin

Gets or sets the right margin for OMathParagraph, in points.

Allowed values are from 0 to 1584, inclusive.

The default value is 0.

This property is ignored when UseDisplayDefaults is false.

Right margin is added to the paragraph settings for margins.

public float RightMargin { get; set; }

Property Value

float

SmallNestedFraction

Gets or sets whether to reduce text size in numerator and denominator for nested OMathFraction.

The default value is false.

public bool SmallNestedFraction { get; set; }

Property Value

bool

UseDisplayDefaults

Gets or sets whether to use the properties Justification, LeftMargin, RightMargin and WrapIndent, or just paragraph formatting in the Office Math zones.

The default value is true.

public bool UseDisplayDefaults { get; set; }

Property Value

bool

WrapIndent

Gets or sets the indent of the wrapped line of an instance of mathematical text.

Allowed values are from -1 to 1584, inclusive.

The default value is 72.

This property is ignored when UseDisplayDefaults is false.

The line or lines of a wrapped instance of mathematical text after the line break can either be indented by a positive specified amount from the left margin, or right aligned if the value set to -1.

public float WrapIndent { get; set; }

Property Value

float