# GrapeCity.Documents.Word.OMathOptions

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Word_OMathOptions" data-uid="GrapeCity.Documents.Word.OMathOptions" class="text-break">OMathOptions Class
</h1>
  <div class="markdown level0 summary"><p>Specifies the various options of displaying an Office Math zone on the document level.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="GrapeCity.Documents.Word.FormattingBag.html">FormattingBag</a></div>
    <div class="level2"><span class="xref">OMathOptions</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Documents.Word.html">GrapeCity.Documents.Word</a></h6>
  <h6><strong>Assembly</strong>: DS.Documents.Word.dll</h6>
  <h5 id="GrapeCity_Documents_Word_OMathOptions_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class OMathOptions : FormattingBag</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class OMathOptions
    Inherits FormattingBag</code></pre>
  </div>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_Documents_Word_OMathOptions_BreakBinaryOperator" data-uid="GrapeCity.Documents.Word.OMathOptions.BreakBinaryOperator">
          <a class="xref" href="GrapeCity.Documents.Word.OMathOptions.BreakBinaryOperator.html#GrapeCity_Documents_Word_OMathOptions_BreakBinaryOperator">BreakBinaryOperator</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets how binary operators are treated when they coincide with a line break.</p>
<p>The default value is <a class="xref" href="GrapeCity.Documents.Word.OMathBreakBinaryOperator.html#GrapeCity_Documents_Word_OMathBreakBinaryOperator_Before">Before</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_OMathOptions_BreakBinarySubtraction" data-uid="GrapeCity.Documents.Word.OMathOptions.BreakBinarySubtraction">
          <a class="xref" href="GrapeCity.Documents.Word.OMathOptions.BreakBinarySubtraction.html#GrapeCity_Documents_Word_OMathOptions_BreakBinarySubtraction">BreakBinarySubtraction</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets how the subtraction operator is treated when it coincides with a line break
when <a class="xref" href="GrapeCity.Documents.Word.OMathOptions.BreakBinaryOperator.html#GrapeCity_Documents_Word_OMathOptions_BreakBinaryOperator">BreakBinaryOperator</a> is set to <a class="xref" href="GrapeCity.Documents.Word.OMathBreakBinaryOperator.html#GrapeCity_Documents_Word_OMathBreakBinaryOperator_Repeat">Repeat</a>.</p>
<p>The default value is <a class="xref" href="GrapeCity.Documents.Word.OMathBreakBinarySubtraction.html#GrapeCity_Documents_Word_OMathBreakBinarySubtraction_MinusMinus">MinusMinus</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_OMathOptions_Font" data-uid="GrapeCity.Documents.Word.OMathOptions.Font">
          <a class="xref" href="GrapeCity.Documents.Word.OMathOptions.Font.html#GrapeCity_Documents_Word_OMathOptions_Font">Font</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the default font to be used in the Office Math zone.</p>
<p>The default value is <b>Cambria Math</b>.</p> 
<p>Microsoft Word ignores this property if it is set to an empty string or font which is not appropriate for displaying math.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_OMathOptions_IntegralLimitLocation" data-uid="GrapeCity.Documents.Word.OMathOptions.IntegralLimitLocation">
          <a class="xref" href="GrapeCity.Documents.Word.OMathOptions.IntegralLimitLocation.html#GrapeCity_Documents_Word_OMathOptions_IntegralLimitLocation">IntegralLimitLocation</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the default placement of integral limits in the <a class="xref" href="GrapeCity.Documents.Word.OMathNary.html">OMathNary</a> structure.</p>
<p>The default value is <a class="xref" href="GrapeCity.Documents.Word.OMathLimitLocation.html#GrapeCity_Documents_Word_OMathLimitLocation_SubscriptSuperscript">SubscriptSuperscript</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_OMathOptions_Justification" data-uid="GrapeCity.Documents.Word.OMathOptions.Justification">
          <a class="xref" href="GrapeCity.Documents.Word.OMathOptions.Justification.html#GrapeCity_Documents_Word_OMathOptions_Justification">Justification</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the default justification of <a class="xref" href="GrapeCity.Documents.Word.OMathParagraph.html">OMathParagraph</a> at the document level.</p>
<p>The default value is <a class="xref" href="GrapeCity.Documents.Word.OMathJustification.html#GrapeCity_Documents_Word_OMathJustification_CenterGroup">CenterGroup</a>.</p>
<p>Individual <a class="xref" href="GrapeCity.Documents.Word.OMathParagraph.html">OMathParagraph</a> instances can overrule this property.</p>
<p>This property is ignored when <a class="xref" href="GrapeCity.Documents.Word.OMathOptions.UseDisplayDefaults.html#GrapeCity_Documents_Word_OMathOptions_UseDisplayDefaults">UseDisplayDefaults</a> is <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">false</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_OMathOptions_LeftMargin" data-uid="GrapeCity.Documents.Word.OMathOptions.LeftMargin">
          <a class="xref" href="GrapeCity.Documents.Word.OMathOptions.LeftMargin.html#GrapeCity_Documents_Word_OMathOptions_LeftMargin">LeftMargin</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the left margin for <a class="xref" href="GrapeCity.Documents.Word.OMathParagraph.html">OMathParagraph</a>, in points.</p>
<p>Allowed values are from <b>0</b> to <b>1584</b>, inclusive.</p>
<p>The default value is <b>0</b>.</p> 
<p>This property is ignored when <a class="xref" href="GrapeCity.Documents.Word.OMathOptions.UseDisplayDefaults.html#GrapeCity_Documents_Word_OMathOptions_UseDisplayDefaults">UseDisplayDefaults</a> is <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">false</a>.</p>
<p>Left margin is added to the paragraph settings for margins.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_OMathOptions_NaryLimitLocation" data-uid="GrapeCity.Documents.Word.OMathOptions.NaryLimitLocation">
          <a class="xref" href="GrapeCity.Documents.Word.OMathOptions.NaryLimitLocation.html#GrapeCity_Documents_Word_OMathOptions_NaryLimitLocation">NaryLimitLocation</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the default placement of n-ary limits other than integrals in the <a class="xref" href="GrapeCity.Documents.Word.OMathNary.html">OMathNary</a> structure.</p>
<p>The default value is <a class="xref" href="GrapeCity.Documents.Word.OMathLimitLocation.html#GrapeCity_Documents_Word_OMathLimitLocation_UnderOver">UnderOver</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_OMathOptions_RightMargin" data-uid="GrapeCity.Documents.Word.OMathOptions.RightMargin">
          <a class="xref" href="GrapeCity.Documents.Word.OMathOptions.RightMargin.html#GrapeCity_Documents_Word_OMathOptions_RightMargin">RightMargin</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the right margin for <a class="xref" href="GrapeCity.Documents.Word.OMathParagraph.html">OMathParagraph</a>, in points.</p>
<p>Allowed values are from <b>0</b> to <b>1584</b>, inclusive.</p>
<p>The default value is <b>0</b>.</p> 
<p>This property is ignored when <a class="xref" href="GrapeCity.Documents.Word.OMathOptions.UseDisplayDefaults.html#GrapeCity_Documents_Word_OMathOptions_UseDisplayDefaults">UseDisplayDefaults</a> is <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">false</a>.</p>
<p>Right margin is added to the paragraph settings for margins.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_OMathOptions_SmallNestedFraction" data-uid="GrapeCity.Documents.Word.OMathOptions.SmallNestedFraction">
          <a class="xref" href="GrapeCity.Documents.Word.OMathOptions.SmallNestedFraction.html#GrapeCity_Documents_Word_OMathOptions_SmallNestedFraction">SmallNestedFraction</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether to reduce text size in numerator and denominator for nested <a class="xref" href="GrapeCity.Documents.Word.OMathFraction.html">OMathFraction</a>.</p>
<p>The default value is <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">false</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_OMathOptions_UseDisplayDefaults" data-uid="GrapeCity.Documents.Word.OMathOptions.UseDisplayDefaults">
          <a class="xref" href="GrapeCity.Documents.Word.OMathOptions.UseDisplayDefaults.html#GrapeCity_Documents_Word_OMathOptions_UseDisplayDefaults">UseDisplayDefaults</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether to use the properties <a class="xref" href="GrapeCity.Documents.Word.OMathOptions.Justification.html#GrapeCity_Documents_Word_OMathOptions_Justification">Justification</a>, <a class="xref" href="GrapeCity.Documents.Word.OMathOptions.LeftMargin.html#GrapeCity_Documents_Word_OMathOptions_LeftMargin">LeftMargin</a>, <a class="xref" href="GrapeCity.Documents.Word.OMathOptions.RightMargin.html#GrapeCity_Documents_Word_OMathOptions_RightMargin">RightMargin</a>
and <a class="xref" href="GrapeCity.Documents.Word.OMathOptions.WrapIndent.html#GrapeCity_Documents_Word_OMathOptions_WrapIndent">WrapIndent</a>, or just paragraph formatting in the Office Math zones.</p>
<p>The default value is <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">true</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_OMathOptions_WrapIndent" data-uid="GrapeCity.Documents.Word.OMathOptions.WrapIndent">
          <a class="xref" href="GrapeCity.Documents.Word.OMathOptions.WrapIndent.html#GrapeCity_Documents_Word_OMathOptions_WrapIndent">WrapIndent</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the indent of the wrapped line of an instance of mathematical text.</p>
<p>Allowed values are from <b>-1</b> to <b>1584</b>, inclusive.</p>
<p>The default value is <b>72</b>.</p> 
<p>This property is ignored when <a class="xref" href="GrapeCity.Documents.Word.OMathOptions.UseDisplayDefaults.html#GrapeCity_Documents_Word_OMathOptions_UseDisplayDefaults">UseDisplayDefaults</a> is <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">false</a>.</p>
<p>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 <b>-1</b>.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
