# GrapeCity.Documents.Word.OMathFormat

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Word_OMathFormat" data-uid="GrapeCity.Documents.Word.OMathFormat" class="text-break">OMathFormat Class
</h1>
  <div class="markdown level0 summary"><p>Represents Office Math formatting for a run if its <a class="xref" href="GrapeCity.Documents.Word.Run.IsOMathRun.html#GrapeCity_Documents_Word_Run_IsOMathRun">IsOMathRun</a> property is set to <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">true</a>.</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"><span class="xref">OMathFormat</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_OMathFormat_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class OMathFormat</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class OMathFormat</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_OMathFormat_BreakAt" data-uid="GrapeCity.Documents.Word.OMathFormat.BreakAt">
          <a class="xref" href="GrapeCity.Documents.Word.OMathFormat.BreakAt.html#GrapeCity_Documents_Word_OMathFormat_BreakAt">BreakAt</a>
        </td>
        <td class="markdown level1 summary"><p>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.</p>
<p>If <a class="xref" href="GrapeCity.Documents.Word.OMathFormat.IsNormalText.html#GrapeCity_Documents_Word_OMathFormat_IsNormalText">IsNormalText</a> is <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">true</a>, the returned value is always <b>-1</b>.</p>
<p>Allowed values are from <b>-1</b> to <b>255</b>, inclusive.</p>
<p>When the value is <b>-1</b>, the Office Math run does not manually break onto the next line.</p>
<p>When the value is <b>0</b>, the Office Math run manually breaks onto the next line and is aligned with the beginning of the previous line.</p>
<p>When the value is greater than <b>0</b>, the Office Math run manually breaks onto the next line and is aligned with the specified index of the operator on the previous line.</p>
<p>Default value is <b>-1</b>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_OMathFormat_IsAlignmentPoint" data-uid="GrapeCity.Documents.Word.OMathFormat.IsAlignmentPoint">
          <a class="xref" href="GrapeCity.Documents.Word.OMathFormat.IsAlignmentPoint.html#GrapeCity_Documents_Word_OMathFormat_IsAlignmentPoint">IsAlignmentPoint</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the Office Math run is an alignment point.
If <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">true</a>, the designated alignment points in other equations can be aligned with it.</p>
<p>If <a class="xref" href="GrapeCity.Documents.Word.OMathFormat.IsNormalText.html#GrapeCity_Documents_Word_OMathFormat_IsNormalText">IsNormalText</a> is <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">true</a>, the returned value is always <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">false</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_OMathFormat_IsLiteral" data-uid="GrapeCity.Documents.Word.OMathFormat.IsLiteral">
          <a class="xref" href="GrapeCity.Documents.Word.OMathFormat.IsLiteral.html#GrapeCity_Documents_Word_OMathFormat_IsLiteral">IsLiteral</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether that characters in the Office Math run are literal.</p>
<p>The default value is <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">false</a>,
meaning that they are to be interpreted literally and not be built up based on any implied mathematical meaning.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_OMathFormat_IsNormalText" data-uid="GrapeCity.Documents.Word.OMathFormat.IsNormalText">
          <a class="xref" href="GrapeCity.Documents.Word.OMathFormat.IsNormalText.html#GrapeCity_Documents_Word_OMathFormat_IsNormalText">IsNormalText</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the Office Math run is normal text,
so properties <a class="xref" href="GrapeCity.Documents.Word.OMathFormat.Script.html#GrapeCity_Documents_Word_OMathFormat_Script">Script</a>, <a class="xref" href="GrapeCity.Documents.Word.OMathFormat.IsAlignmentPoint.html#GrapeCity_Documents_Word_OMathFormat_IsAlignmentPoint">IsAlignmentPoint</a>, <a class="xref" href="GrapeCity.Documents.Word.OMathFormat.BreakAt.html#GrapeCity_Documents_Word_OMathFormat_BreakAt">BreakAt</a> and <a class="xref" href="GrapeCity.Documents.Word.OMathOptions.Font.html#GrapeCity_Documents_Word_OMathOptions_Font">Font</a> are ignored.</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_OMathFormat_Script" data-uid="GrapeCity.Documents.Word.OMathFormat.Script">
          <a class="xref" href="GrapeCity.Documents.Word.OMathFormat.Script.html#GrapeCity_Documents_Word_OMathFormat_Script">Script</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the script applied to the characters in the Office Math run.</p>
<p>If <a class="xref" href="GrapeCity.Documents.Word.OMathFormat.IsNormalText.html#GrapeCity_Documents_Word_OMathFormat_IsNormalText">IsNormalText</a> is <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">true</a>, the returned value is always <a class="xref" href="GrapeCity.Documents.Word.OMathScript.html#GrapeCity_Documents_Word_OMathScript_None">None</a>.</p> 
<p>The default value is <a class="xref" href="GrapeCity.Documents.Word.OMathScript.html#GrapeCity_Documents_Word_OMathScript_Roman">Roman</a>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</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_OMathFormat_Equals_System_Object_" data-uid="GrapeCity.Documents.Word.OMathFormat.Equals(System.Object)">
          <a class="xref" href="GrapeCity.Documents.Word.OMathFormat.Equals.html#GrapeCity_Documents_Word_OMathFormat_Equals_System_Object_">Equals(object)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_OMathFormat_GetHashCode" data-uid="GrapeCity.Documents.Word.OMathFormat.GetHashCode">
          <a class="xref" href="GrapeCity.Documents.Word.OMathFormat.GetHashCode.html#GrapeCity_Documents_Word_OMathFormat_GetHashCode">GetHashCode()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
