# GrapeCity.Documents.Word.OMathPhantom

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Word_OMathPhantom" data-uid="GrapeCity.Documents.Word.OMathPhantom" class="text-break">OMathPhantom Class
</h1>
  <div class="markdown level0 summary"><p>Represents a phantom Office Math structure.</p>
<p>This structure has two primary uses: adding the spacing of the phantom base element without displaying that base; 
and suppressing part of the glyph for spacing considerations.</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.ContentObject.html">ContentObject</a></div>
    <div class="level2"><a class="xref" href="GrapeCity.Documents.Word.OMathStruct.html">OMathStruct</a></div>
    <div class="level3"><span class="xref">OMathPhantom</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="GrapeCity.Documents.Word.IBrowsable-1.html">IBrowsable</a>&lt;<a class="xref" href="GrapeCity.Documents.Word.OMathStruct.html">OMathStruct</a>&gt;</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_OMathPhantom_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class OMathPhantom : OMathStruct, IBrowsable&lt;OMathStruct&gt;</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class OMathPhantom
    Inherits OMathStruct
    Implements IBrowsable(Of OMathStruct)</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_OMathPhantom_Argument" data-uid="GrapeCity.Documents.Word.OMathPhantom.Argument">
          <a class="xref" href="GrapeCity.Documents.Word.OMathPhantom.Argument.html#GrapeCity_Documents_Word_OMathPhantom_Argument">Argument</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the argument <a class="xref" href="GrapeCity.Documents.Word.OMathElement.html">OMathElement</a> for the phantom.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_OMathPhantom_Show" data-uid="GrapeCity.Documents.Word.OMathPhantom.Show">
          <a class="xref" href="GrapeCity.Documents.Word.OMathPhantom.Show.html#GrapeCity_Documents_Word_OMathPhantom_Show">Show</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether to show the <a class="xref" href="GrapeCity.Documents.Word.OMathPhantom.Argument.html#GrapeCity_Documents_Word_OMathPhantom_Argument">Argument</a> element.</p>
<p>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_OMathPhantom_Smash" data-uid="GrapeCity.Documents.Word.OMathPhantom.Smash">
          <a class="xref" href="GrapeCity.Documents.Word.OMathPhantom.Smash.html#GrapeCity_Documents_Word_OMathPhantom_Smash">Smash</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the contents of the phantom are visible but that the height is not taken into account during layout.</p>
<p>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_OMathPhantom_StructType" data-uid="GrapeCity.Documents.Word.OMathPhantom.StructType">
          <a class="xref" href="GrapeCity.Documents.Word.OMathPhantom.StructType.html#GrapeCity_Documents_Word_OMathPhantom_StructType">StructType</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="GrapeCity.Documents.Word.OMathStructType.html">OMathStructType</a> of the structure.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_OMathPhantom_Transparent" data-uid="GrapeCity.Documents.Word.OMathPhantom.Transparent">
          <a class="xref" href="GrapeCity.Documents.Word.OMathPhantom.Transparent.html#GrapeCity_Documents_Word_OMathPhantom_Transparent">Transparent</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the phantom is transparent for spacing.</p>
<p>This means that if the contents of the phantom belong to a special spacing class (such as binary operators, relational operators, differentials, etc.), 
the contents of that phantom are taken into consideration when laying out text. If transparency is turned off, then the contents of the phantom are ignored during layout.
</p>
<p>The default value is <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">false</a>.</p> 
<p>In Microsoft Word, if transparency is off, special spacing is not added before and after the phantom, but the contents are not ignored during layout.</p>
<p>In Microsoft Word, transparency does not work as specified unless the phantom contains another math function and does not start or end with a math operator.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_OMathPhantom_ZeroAscent" data-uid="GrapeCity.Documents.Word.OMathPhantom.ZeroAscent">
          <a class="xref" href="GrapeCity.Documents.Word.OMathPhantom.ZeroAscent.html#GrapeCity_Documents_Word_OMathPhantom_ZeroAscent">ZeroAscent</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether it should not take into account the ascent of the contents during layout.</p>
<p>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_OMathPhantom_ZeroDescent" data-uid="GrapeCity.Documents.Word.OMathPhantom.ZeroDescent">
          <a class="xref" href="GrapeCity.Documents.Word.OMathPhantom.ZeroDescent.html#GrapeCity_Documents_Word_OMathPhantom_ZeroDescent">ZeroDescent</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether it should not take into account the descent of the contents during layout.</p>
<p>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_OMathPhantom_ZeroWidth" data-uid="GrapeCity.Documents.Word.OMathPhantom.ZeroWidth">
          <a class="xref" href="GrapeCity.Documents.Word.OMathPhantom.ZeroWidth.html#GrapeCity_Documents_Word_OMathPhantom_ZeroWidth">ZeroWidth</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether it should not take into account the width of the contents during layout.</p>
<p>Default value is <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">false</a>.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
