Document Solutions for Word
DS.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / OMathOptions Class
Properties Methods

In This Topic
    OMathOptions Class Members
    In This Topic

    The following tables list the members exposed by OMathOptions.

    Public Properties
     NameDescription
    Public PropertyGets or sets how binary operators are treated when they coincide with a line break.

    The default value is OMathBreakBinaryOperator.Before.

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

    The default value is OMathBreakBinarySubtraction.MinusMinus.

     
    Public PropertyGets 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 PropertyGets or sets the default placement of integral limits in the OMathNary structure.

    The default value is OMathLimitLocation.SubscriptSuperscript.

     
    Public PropertyGets or sets the default justification of OMathParagraph at the document level.

    The default value is OMathJustification.CenterGroup.

    Individual OMathParagraph instances can overrule this property.

    This property is ignored when UseDisplayDefaults is false.

     
    Public PropertyGets 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 PropertyGets or sets the default placement of n-ary limits other than integrals in the OMathNary structure.

    The default value is OMathLimitLocation.UnderOver.

     
    Public PropertyGets 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 PropertyGets or sets whether to reduce text size in numerator and denominator for nested OMathFraction.

    The default value is false.

     
    Public PropertyGets 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 PropertyGets 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.

     
    Top
    Public Methods
     NameDescription
    Public Method Clears direct formatting in the object. (Inherited from GrapeCity.Documents.Word.FormattingBag)
    Top
    See Also