# C1.WPF.Word.C1WordDocument.GetParagraph

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WPF_Word_C1WordDocument_GetParagraph_" data-uid="C1.WPF.Word.C1WordDocument.GetParagraph*">GetParagraph Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WPF_Word_C1WordDocument_GetParagraph_" data-uid="C1.WPF.Word.C1WordDocument.GetParagraph*"></a>
<h4 id="C1_WPF_Word_C1WordDocument_GetParagraph_C1_WPF_Word_Font_" data-uid="C1.WPF.Word.C1WordDocument.GetParagraph(C1.WPF.Word.Font)">GetParagraph(Font)</h4>
<div class="markdown level1 summary"><p>Get paragraph with the empty text and string format for this document.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public RtfParagraph GetParagraph(Font font)</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><a class="xref" href="C1.WPF.Word.Font.html">Font</a></td>
      <td><span class="parametername">font</span></td>
      <td><p>The drawing font.</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="C1.WPF.Word.Objects.RtfParagraph.html">RtfParagraph</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="C1_WPF_Word_C1WordDocument_GetParagraph_" data-uid="C1.WPF.Word.C1WordDocument.GetParagraph*"></a>
<h4 id="C1_WPF_Word_C1WordDocument_GetParagraph_System_String_" data-uid="C1.WPF.Word.C1WordDocument.GetParagraph(System.String)">GetParagraph(string)</h4>
<div class="markdown level1 summary"><p>Get paragraph for the text for this document.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public RtfParagraph GetParagraph(string text)</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><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">text</span></td>
      <td><p>The text string of the paragraph.</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="C1.WPF.Word.Objects.RtfParagraph.html">RtfParagraph</a></td>
      <td><p>The paragraph for this document</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_WPF_Word_C1WordDocument_GetParagraph_" data-uid="C1.WPF.Word.C1WordDocument.GetParagraph*"></a>
<h4 id="C1_WPF_Word_C1WordDocument_GetParagraph_System_String_C1_WPF_Word_Font_" data-uid="C1.WPF.Word.C1WordDocument.GetParagraph(System.String,C1.WPF.Word.Font)">GetParagraph(string, Font)</h4>
<div class="markdown level1 summary"><p>Get paragraph for the text for this document.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public RtfParagraph GetParagraph(string text, Font font)</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><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">text</span></td>
      <td><p>The text string of the paragraph.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.WPF.Word.Font.html">Font</a></td>
      <td><span class="parametername">font</span></td>
      <td><p>The drawing font for the text.</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="C1.WPF.Word.Objects.RtfParagraph.html">RtfParagraph</a></td>
      <td><p>The paragraph for this document</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_WPF_Word_C1WordDocument_GetParagraph_" data-uid="C1.WPF.Word.C1WordDocument.GetParagraph*"></a>
<h4 id="C1_WPF_Word_C1WordDocument_GetParagraph_System_String_C1_WPF_Word_StringFormat_" data-uid="C1.WPF.Word.C1WordDocument.GetParagraph(System.String,C1.WPF.Word.StringFormat)">GetParagraph(string, StringFormat)</h4>
<div class="markdown level1 summary"><p>Get paragraph for the text and string format for this document.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public RtfParagraph GetParagraph(string text, StringFormat sf)</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><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">text</span></td>
      <td><p>The text string of the paragraph.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.WPF.Word.StringFormat.html">StringFormat</a></td>
      <td><span class="parametername">sf</span></td>
      <td><p>The drawing string format.</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="C1.WPF.Word.Objects.RtfParagraph.html">RtfParagraph</a></td>
      <td><p>The paragraph for this document</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_WPF_Word_C1WordDocument_GetParagraph_" data-uid="C1.WPF.Word.C1WordDocument.GetParagraph*"></a>
<h4 id="C1_WPF_Word_C1WordDocument_GetParagraph_System_String_C1_WPF_Word_Font_C1_WPF_Word_StringFormat_" data-uid="C1.WPF.Word.C1WordDocument.GetParagraph(System.String,C1.WPF.Word.Font,C1.WPF.Word.StringFormat)">GetParagraph(string, Font, StringFormat)</h4>
<div class="markdown level1 summary"><p>Get paragraph for the text and string format for this document.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public RtfParagraph GetParagraph(string text, Font font, StringFormat sf)</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><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">text</span></td>
      <td><p>The text string of the paragraph.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.WPF.Word.Font.html">Font</a></td>
      <td><span class="parametername">font</span></td>
      <td><p>The drawing font for the text.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.WPF.Word.StringFormat.html">StringFormat</a></td>
      <td><span class="parametername">sf</span></td>
      <td><p>The drawing string format.</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="C1.WPF.Word.Objects.RtfParagraph.html">RtfParagraph</a></td>
      <td><p>The paragraph for this document</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_WPF_Word_C1WordDocument_GetParagraph_" data-uid="C1.WPF.Word.C1WordDocument.GetParagraph*"></a>
<h4 id="C1_WPF_Word_C1WordDocument_GetParagraph_System_String_C1_WPF_Word_StringFormat_System_Single_" data-uid="C1.WPF.Word.C1WordDocument.GetParagraph(System.String,C1.WPF.Word.StringFormat,System.Single)">GetParagraph(string, StringFormat, float)</h4>
<div class="markdown level1 summary"><p>Get paragraph for the text and string format for this document.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public RtfParagraph GetParagraph(string text, StringFormat sf, float expand)</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><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">text</span></td>
      <td><p>The text string of the paragraph.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.WPF.Word.StringFormat.html">StringFormat</a></td>
      <td><span class="parametername">sf</span></td>
      <td><p>The drawing string format.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">expand</span></td>
      <td><p>The value in points for expand (+) or packed (-).</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="C1.WPF.Word.Objects.RtfParagraph.html">RtfParagraph</a></td>
      <td><p>The paragraph for this document</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_WPF_Word_C1WordDocument_GetParagraph_" data-uid="C1.WPF.Word.C1WordDocument.GetParagraph*"></a>
<h4 id="C1_WPF_Word_C1WordDocument_GetParagraph_System_String_C1_WPF_Word_Font_C1_WPF_Word_StringFormat_System_Single_" data-uid="C1.WPF.Word.C1WordDocument.GetParagraph(System.String,C1.WPF.Word.Font,C1.WPF.Word.StringFormat,System.Single)">GetParagraph(string, Font, StringFormat, float)</h4>
<div class="markdown level1 summary"><p>Get paragraph for the text and string format for this document.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public RtfParagraph GetParagraph(string text, Font font, StringFormat sf, float expand)</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><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">text</span></td>
      <td><p>The text string of the paragraph.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.WPF.Word.Font.html">Font</a></td>
      <td><span class="parametername">font</span></td>
      <td><p>The drawing font for the text.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.WPF.Word.StringFormat.html">StringFormat</a></td>
      <td><span class="parametername">sf</span></td>
      <td><p>The drawing string format.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">expand</span></td>
      <td><p>The value in points for expand (+) or packed (-).</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="C1.WPF.Word.Objects.RtfParagraph.html">RtfParagraph</a></td>
      <td><p>The paragraph for this document</p>
</td>
    </tr>
  </tbody>
</table>
</div>
