# GrapeCity.Documents.Word.MathMLConverter.FromMathML

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Word_MathMLConverter_FromMathML_" data-uid="GrapeCity.Documents.Word.MathMLConverter.FromMathML*">FromMathML Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Word_MathMLConverter_FromMathML_" data-uid="GrapeCity.Documents.Word.MathMLConverter.FromMathML*"></a>
<h4 id="GrapeCity_Documents_Word_MathMLConverter_FromMathML_System_Xml_XmlReader_GrapeCity_Documents_Word_OMathParagraph_" data-uid="GrapeCity.Documents.Word.MathMLConverter.FromMathML(System.Xml.XmlReader,GrapeCity.Documents.Word.OMathParagraph)">FromMathML(XmlReader, OMathParagraph)</h4>
<div class="markdown level1 summary"><p>Adds MathML content to a <a class="xref" href="GrapeCity.Documents.Word.OMathParagraph.html">OMathParagraph</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public OMath FromMathML(XmlReader mathML, OMathParagraph to)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function FromMathML(mathML As XmlReader, [to] As OMathParagraph) As OMath</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><span class="xref">XmlReader</span></td>
      <td><span class="parametername">mathML</span></td>
      <td><p>The source <span class="xref">System.Xml.XmlReader</span> containing the MathML content to convert.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Documents.Word.OMathParagraph.html">OMathParagraph</a></td>
      <td><span class="parametername">to</span></td>
      <td><p>The target <a class="xref" href="GrapeCity.Documents.Word.OMathParagraph.html">OMathParagraph</a> where to add the converted content.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="GrapeCity.Documents.Word.OMath.html">OMath</a></td>
      <td><p>The newly created <a class="xref" href="GrapeCity.Documents.Word.OMath.html">OMath</a> that contains the added content.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Documents_Word_MathMLConverter_FromMathML_" data-uid="GrapeCity.Documents.Word.MathMLConverter.FromMathML*"></a>
<h4 id="GrapeCity_Documents_Word_MathMLConverter_FromMathML_System_Xml_XmlReader_GrapeCity_Documents_Word_OMath_" data-uid="GrapeCity.Documents.Word.MathMLConverter.FromMathML(System.Xml.XmlReader,GrapeCity.Documents.Word.OMath)">FromMathML(XmlReader, OMath)</h4>
<div class="markdown level1 summary"><p>Adds MathML content to a <a class="xref" href="GrapeCity.Documents.Word.OMath.html">OMath</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ContentObject[] FromMathML(XmlReader mathML, OMath to)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function FromMathML(mathML As XmlReader, [to] As OMath) As ContentObject()</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><span class="xref">XmlReader</span></td>
      <td><span class="parametername">mathML</span></td>
      <td><p>The source <span class="xref">System.Xml.XmlReader</span> containing the MathML content to convert.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Documents.Word.OMath.html">OMath</a></td>
      <td><span class="parametername">to</span></td>
      <td><p>The target <a class="xref" href="GrapeCity.Documents.Word.OMath.html">OMath</a> where to add the converted content.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="GrapeCity.Documents.Word.ContentObject.html">ContentObject</a>[]</td>
      <td><p>The array of created <a class="xref" href="GrapeCity.Documents.Word.ContentObject.html">ContentObject</a>s.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Documents_Word_MathMLConverter_FromMathML_" data-uid="GrapeCity.Documents.Word.MathMLConverter.FromMathML*"></a>
<h4 id="GrapeCity_Documents_Word_MathMLConverter_FromMathML_System_Xml_XmlReader_GrapeCity_Documents_Word_OMathElement_" data-uid="GrapeCity.Documents.Word.MathMLConverter.FromMathML(System.Xml.XmlReader,GrapeCity.Documents.Word.OMathElement)">FromMathML(XmlReader, OMathElement)</h4>
<div class="markdown level1 summary"><p>Adds MathML content to a <a class="xref" href="GrapeCity.Documents.Word.OMathElement.html">OMathElement</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ContentObject[] FromMathML(XmlReader mathML, OMathElement to)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function FromMathML(mathML As XmlReader, [to] As OMathElement) As ContentObject()</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><span class="xref">XmlReader</span></td>
      <td><span class="parametername">mathML</span></td>
      <td><p>The source <span class="xref">System.Xml.XmlReader</span> containing the MathML content to convert.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Documents.Word.OMathElement.html">OMathElement</a></td>
      <td><span class="parametername">to</span></td>
      <td><p>The target <a class="xref" href="GrapeCity.Documents.Word.OMathElement.html">OMathElement</a> where to add the converted content.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="GrapeCity.Documents.Word.ContentObject.html">ContentObject</a>[]</td>
      <td><p>The array of created <a class="xref" href="GrapeCity.Documents.Word.ContentObject.html">ContentObject</a>s.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Documents_Word_MathMLConverter_FromMathML_" data-uid="GrapeCity.Documents.Word.MathMLConverter.FromMathML*"></a>
<h4 id="GrapeCity_Documents_Word_MathMLConverter_FromMathML_System_Xml_XmlReader_GrapeCity_Documents_Word_RangeBase_GrapeCity_Documents_Word_InsertLocation_" data-uid="GrapeCity.Documents.Word.MathMLConverter.FromMathML(System.Xml.XmlReader,GrapeCity.Documents.Word.RangeBase,GrapeCity.Documents.Word.InsertLocation)">FromMathML(XmlReader, RangeBase, InsertLocation)</h4>
<div class="markdown level1 summary"><p>Adds MathML content to a <a class="xref" href="GrapeCity.Documents.Word.RangeBase.html">RangeBase</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ContentObject[] FromMathML(XmlReader mathML, RangeBase range, InsertLocation location = InsertLocation.End)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function FromMathML(mathML As XmlReader, range As RangeBase, Optional location As InsertLocation = InsertLocation.End) As ContentObject()</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><span class="xref">XmlReader</span></td>
      <td><span class="parametername">mathML</span></td>
      <td><p>The source <span class="xref">System.Xml.XmlReader</span> containing the MathML content to convert.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Documents.Word.RangeBase.html">RangeBase</a></td>
      <td><span class="parametername">range</span></td>
      <td><p>The target <a class="xref" href="GrapeCity.Documents.Word.RangeBase.html">RangeBase</a> where to add the converted content.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Documents.Word.InsertLocation.html">InsertLocation</a></td>
      <td><span class="parametername">location</span></td>
      <td><p>The target <a class="xref" href="GrapeCity.Documents.Word.InsertLocation.html">InsertLocation</a> for the insertion.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="GrapeCity.Documents.Word.ContentObject.html">ContentObject</a>[]</td>
      <td><p>The array of created <a class="xref" href="GrapeCity.Documents.Word.ContentObject.html">ContentObject</a>s.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
