# C1.C1Preview.C1PrintDocument.RenderInlineText

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_C1Preview_C1PrintDocument_RenderInlineText_" data-uid="C1.C1Preview.C1PrintDocument.RenderInlineText*">RenderInlineText Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_C1Preview_C1PrintDocument_RenderInlineText_" data-uid="C1.C1Preview.C1PrintDocument.RenderInlineText*"></a>
<h4 id="C1_C1Preview_C1PrintDocument_RenderInlineText_System_String_C1_C1Preview_Style_" data-uid="C1.C1Preview.C1PrintDocument.RenderInlineText(System.String,C1.C1Preview.Style)">RenderInlineText(string, Style)</h4>
<div class="markdown level1 summary"><p>Renders a string into the current inline paragraph,
using the specified style.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool RenderInlineText(string text, Style style)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function RenderInlineText(text As String, style As Style) As Boolean</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 string to add to the <a class="xref" href="C1.C1Preview.RenderParagraph.Content.html#C1_C1Preview_RenderParagraph_Content">Content</a> of the current inline paragraph.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.C1Preview.Style.html">Style</a></td>
      <td><span class="parametername">style</span></td>
      <td><p>The <a class="xref" href="C1.C1Preview.C1PrintDocument.Style.html#C1_C1Preview_C1PrintDocument_Style">Style</a> to apply to the specified 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="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><p><b>true</b> if no warnings were generated by this call, <b>false</b> otherwise.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_C1Preview_C1PrintDocument_RenderInlineText_System_String_C1_C1Preview_Style__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>This method creates a new <a class="xref" href="C1.C1Preview.ParagraphText.html">ParagraphText</a> object
with the specified style,
and adds it to the current internally maintained <a class="xref" href="C1.C1Preview.RenderParagraph.html">RenderParagraph</a> object.
A new paragraph is started if there is no current one.</p>
<p>
This method can only be used between calls to <a class="xref" href="C1.C1Preview.C1PrintDocument.StartDoc.html#C1_C1Preview_C1PrintDocument_StartDoc">StartDoc()</a> and <a class="xref" href="C1.C1Preview.C1PrintDocument.EndDoc.html#C1_C1Preview_C1PrintDocument_EndDoc">EndDoc()</a>
methods on the current document.
For details, see <a class="xref" href="C1.C1Preview.C1PrintDocument.RenderBlock.html#C1_C1Preview_C1PrintDocument_RenderBlock_C1_C1Preview_RenderObject_">RenderBlock(RenderObject)</a>.
</p>
</div>
<h5 id="C1_C1Preview_C1PrintDocument_RenderInlineText_System_String_C1_C1Preview_Style__seealso">See Also</h5>
<div class="seealso">
    <div><a class="xref" href="C1.C1Preview.ParagraphText.html">ParagraphText</a></div>
    <div><a class="xref" href="C1.C1Preview.C1PrintDocument.RenderInlineBegin.html#C1_C1Preview_C1PrintDocument_RenderInlineBegin_C1_C1Preview_Style_System_Object_System_Object_">RenderInlineBegin</a>(<a class="xref" href="C1.C1Preview.Style.html">Style</a>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a>)</div>
    <div><a class="xref" href="C1.C1Preview.C1PrintDocument.RenderInlineEnd.html#C1_C1Preview_C1PrintDocument_RenderInlineEnd">RenderInlineEnd</a>()</div>
    <div><a class="xref" href="C1.C1Preview.C1PrintDocument.StartDoc.html#C1_C1Preview_C1PrintDocument_StartDoc">StartDoc</a>()</div>
    <div><a class="xref" href="C1.C1Preview.C1PrintDocument.EndDoc.html#C1_C1Preview_C1PrintDocument_EndDoc">EndDoc</a>()</div>
    <div><a class="xref" href="C1.C1Preview.C1PrintDocument.Generate.html#C1_C1Preview_C1PrintDocument_Generate">Generate</a>()</div>
    <div><a class="xref" href="C1.C1Preview.C1PrintDocument.Warnings.html#C1_C1Preview_C1PrintDocument_Warnings">Warnings</a></div>
</div>


<a id="C1_C1Preview_C1PrintDocument_RenderInlineText_" data-uid="C1.C1Preview.C1PrintDocument.RenderInlineText*"></a>
<h4 id="C1_C1Preview_C1PrintDocument_RenderInlineText_System_String_System_Drawing_Font_System_Windows_Media_Color_" data-uid="C1.C1Preview.C1PrintDocument.RenderInlineText(System.String,System.Drawing.Font,System.Windows.Media.Color)">RenderInlineText(string, Font, Color)</h4>
<div class="markdown level1 summary"><p>Renders a string into the current inline paragraph,
using the specified font and text color.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool RenderInlineText(string text, Font font, Color textColor)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function RenderInlineText(text As String, font As Font, textColor As Color) As Boolean</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 string to add to the <a class="xref" href="C1.C1Preview.RenderParagraph.Content.html#C1_C1Preview_RenderParagraph_Content">Content</a> of the current inline paragraph.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.font">Font</a></td>
      <td><span class="parametername">font</span></td>
      <td><p>The font to use for the specified text.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.color">Color</a></td>
      <td><span class="parametername">textColor</span></td>
      <td><p>The text color to use.</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="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><p><b>true</b> if no warnings were generated by this call, <b>false</b> otherwise.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_C1Preview_C1PrintDocument_RenderInlineText_System_String_System_Drawing_Font_System_Windows_Media_Color__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>This method creates a new <a class="xref" href="C1.C1Preview.ParagraphText.html">ParagraphText</a> object
with the specified font and color,
and adds it to the current internally maintained <a class="xref" href="C1.C1Preview.RenderParagraph.html">RenderParagraph</a> object.
A new paragraph is started if there is no current one.</p>
<p>
This method can only be used between calls to <a class="xref" href="C1.C1Preview.C1PrintDocument.StartDoc.html#C1_C1Preview_C1PrintDocument_StartDoc">StartDoc()</a> and <a class="xref" href="C1.C1Preview.C1PrintDocument.EndDoc.html#C1_C1Preview_C1PrintDocument_EndDoc">EndDoc()</a>
methods on the current document.
For details, see <a class="xref" href="C1.C1Preview.C1PrintDocument.RenderBlock.html#C1_C1Preview_C1PrintDocument_RenderBlock_C1_C1Preview_RenderObject_">RenderBlock(RenderObject)</a>.
</p>
</div>
<h5 id="C1_C1Preview_C1PrintDocument_RenderInlineText_System_String_System_Drawing_Font_System_Windows_Media_Color__seealso">See Also</h5>
<div class="seealso">
    <div><a class="xref" href="C1.C1Preview.ParagraphText.html">ParagraphText</a></div>
    <div><a class="xref" href="C1.C1Preview.C1PrintDocument.RenderInlineBegin.html#C1_C1Preview_C1PrintDocument_RenderInlineBegin_C1_C1Preview_Style_System_Object_System_Object_">RenderInlineBegin</a>(<a class="xref" href="C1.C1Preview.Style.html">Style</a>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a>)</div>
    <div><a class="xref" href="C1.C1Preview.C1PrintDocument.RenderInlineEnd.html#C1_C1Preview_C1PrintDocument_RenderInlineEnd">RenderInlineEnd</a>()</div>
    <div><a class="xref" href="C1.C1Preview.C1PrintDocument.StartDoc.html#C1_C1Preview_C1PrintDocument_StartDoc">StartDoc</a>()</div>
    <div><a class="xref" href="C1.C1Preview.C1PrintDocument.EndDoc.html#C1_C1Preview_C1PrintDocument_EndDoc">EndDoc</a>()</div>
    <div><a class="xref" href="C1.C1Preview.C1PrintDocument.Generate.html#C1_C1Preview_C1PrintDocument_Generate">Generate</a>()</div>
    <div><a class="xref" href="C1.C1Preview.C1PrintDocument.Warnings.html#C1_C1Preview_C1PrintDocument_Warnings">Warnings</a></div>
</div>


<a id="C1_C1Preview_C1PrintDocument_RenderInlineText_" data-uid="C1.C1Preview.C1PrintDocument.RenderInlineText*"></a>
<h4 id="C1_C1Preview_C1PrintDocument_RenderInlineText_System_String_System_Drawing_Font_" data-uid="C1.C1Preview.C1PrintDocument.RenderInlineText(System.String,System.Drawing.Font)">RenderInlineText(string, Font)</h4>
<div class="markdown level1 summary"><p>Renders a string into the current inline paragraph,
using the specified font.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool RenderInlineText(string text, Font font)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function RenderInlineText(text As String, font As Font) As Boolean</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 string to add to the <a class="xref" href="C1.C1Preview.RenderParagraph.Content.html#C1_C1Preview_RenderParagraph_Content">Content</a> of the current inline paragraph.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.font">Font</a></td>
      <td><span class="parametername">font</span></td>
      <td><p>The font to use for the specified 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="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><p><b>true</b> if no warnings were generated by this call, <b>false</b> otherwise.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_C1Preview_C1PrintDocument_RenderInlineText_System_String_System_Drawing_Font__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>This method creates a new <a class="xref" href="C1.C1Preview.ParagraphText.html">ParagraphText</a> object
with the specified font,
and adds it to the current internally maintained <a class="xref" href="C1.C1Preview.RenderParagraph.html">RenderParagraph</a> object.
A new paragraph is started if there is no current one.</p>
<p>
This method can only be used between calls to <a class="xref" href="C1.C1Preview.C1PrintDocument.StartDoc.html#C1_C1Preview_C1PrintDocument_StartDoc">StartDoc()</a> and <a class="xref" href="C1.C1Preview.C1PrintDocument.EndDoc.html#C1_C1Preview_C1PrintDocument_EndDoc">EndDoc()</a>
methods on the current document.
For details, see <a class="xref" href="C1.C1Preview.C1PrintDocument.RenderBlock.html#C1_C1Preview_C1PrintDocument_RenderBlock_C1_C1Preview_RenderObject_">RenderBlock(RenderObject)</a>.
</p>
</div>
<h5 id="C1_C1Preview_C1PrintDocument_RenderInlineText_System_String_System_Drawing_Font__seealso">See Also</h5>
<div class="seealso">
    <div><a class="xref" href="C1.C1Preview.ParagraphText.html">ParagraphText</a></div>
    <div><a class="xref" href="C1.C1Preview.C1PrintDocument.RenderInlineBegin.html#C1_C1Preview_C1PrintDocument_RenderInlineBegin_C1_C1Preview_Style_System_Object_System_Object_">RenderInlineBegin</a>(<a class="xref" href="C1.C1Preview.Style.html">Style</a>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a>)</div>
    <div><a class="xref" href="C1.C1Preview.C1PrintDocument.RenderInlineEnd.html#C1_C1Preview_C1PrintDocument_RenderInlineEnd">RenderInlineEnd</a>()</div>
    <div><a class="xref" href="C1.C1Preview.C1PrintDocument.StartDoc.html#C1_C1Preview_C1PrintDocument_StartDoc">StartDoc</a>()</div>
    <div><a class="xref" href="C1.C1Preview.C1PrintDocument.EndDoc.html#C1_C1Preview_C1PrintDocument_EndDoc">EndDoc</a>()</div>
    <div><a class="xref" href="C1.C1Preview.C1PrintDocument.Generate.html#C1_C1Preview_C1PrintDocument_Generate">Generate</a>()</div>
    <div><a class="xref" href="C1.C1Preview.C1PrintDocument.Warnings.html#C1_C1Preview_C1PrintDocument_Warnings">Warnings</a></div>
</div>


<a id="C1_C1Preview_C1PrintDocument_RenderInlineText_" data-uid="C1.C1Preview.C1PrintDocument.RenderInlineText*"></a>
<h4 id="C1_C1Preview_C1PrintDocument_RenderInlineText_System_String_System_Windows_Media_Color_" data-uid="C1.C1Preview.C1PrintDocument.RenderInlineText(System.String,System.Windows.Media.Color)">RenderInlineText(string, Color)</h4>
<div class="markdown level1 summary"><p>Renders a string into the current inline paragraph,
using the specified text color.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool RenderInlineText(string text, Color textColor)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function RenderInlineText(text As String, textColor As Color) As Boolean</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 string to add to the <a class="xref" href="C1.C1Preview.RenderParagraph.Content.html#C1_C1Preview_RenderParagraph_Content">Content</a> of the current inline paragraph.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.color">Color</a></td>
      <td><span class="parametername">textColor</span></td>
      <td><p>The text color to use.</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="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><p><b>true</b> if no warnings were generated by this call, <b>false</b> otherwise.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_C1Preview_C1PrintDocument_RenderInlineText_System_String_System_Windows_Media_Color__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>This method creates a new <a class="xref" href="C1.C1Preview.ParagraphText.html">ParagraphText</a> object
with the specified text color,
and adds it to the current internally maintained <a class="xref" href="C1.C1Preview.RenderParagraph.html">RenderParagraph</a> object.
A new paragraph is started if there is no current one.</p>
<p>
This method can only be used between calls to <a class="xref" href="C1.C1Preview.C1PrintDocument.StartDoc.html#C1_C1Preview_C1PrintDocument_StartDoc">StartDoc()</a> and <a class="xref" href="C1.C1Preview.C1PrintDocument.EndDoc.html#C1_C1Preview_C1PrintDocument_EndDoc">EndDoc()</a>
methods on the current document.
For details, see <a class="xref" href="C1.C1Preview.C1PrintDocument.RenderBlock.html#C1_C1Preview_C1PrintDocument_RenderBlock_C1_C1Preview_RenderObject_">RenderBlock(RenderObject)</a>.
</p>
</div>
<h5 id="C1_C1Preview_C1PrintDocument_RenderInlineText_System_String_System_Windows_Media_Color__seealso">See Also</h5>
<div class="seealso">
    <div><a class="xref" href="C1.C1Preview.ParagraphText.html">ParagraphText</a></div>
    <div><a class="xref" href="C1.C1Preview.C1PrintDocument.RenderInlineBegin.html#C1_C1Preview_C1PrintDocument_RenderInlineBegin_C1_C1Preview_Style_System_Object_System_Object_">RenderInlineBegin</a>(<a class="xref" href="C1.C1Preview.Style.html">Style</a>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a>)</div>
    <div><a class="xref" href="C1.C1Preview.C1PrintDocument.RenderInlineEnd.html#C1_C1Preview_C1PrintDocument_RenderInlineEnd">RenderInlineEnd</a>()</div>
    <div><a class="xref" href="C1.C1Preview.C1PrintDocument.StartDoc.html#C1_C1Preview_C1PrintDocument_StartDoc">StartDoc</a>()</div>
    <div><a class="xref" href="C1.C1Preview.C1PrintDocument.EndDoc.html#C1_C1Preview_C1PrintDocument_EndDoc">EndDoc</a>()</div>
    <div><a class="xref" href="C1.C1Preview.C1PrintDocument.Generate.html#C1_C1Preview_C1PrintDocument_Generate">Generate</a>()</div>
    <div><a class="xref" href="C1.C1Preview.C1PrintDocument.Warnings.html#C1_C1Preview_C1PrintDocument_Warnings">Warnings</a></div>
</div>


<a id="C1_C1Preview_C1PrintDocument_RenderInlineText_" data-uid="C1.C1Preview.C1PrintDocument.RenderInlineText*"></a>
<h4 id="C1_C1Preview_C1PrintDocument_RenderInlineText_System_String_System_Drawing_FontStyle_" data-uid="C1.C1Preview.C1PrintDocument.RenderInlineText(System.String,System.Drawing.FontStyle)">RenderInlineText(string, FontStyle)</h4>
<div class="markdown level1 summary"><p>Renders a string into the current inline paragraph,
using the specified font style.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool RenderInlineText(string text, FontStyle fontStyle)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function RenderInlineText(text As String, fontStyle As FontStyle) As Boolean</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 string to add to the <a class="xref" href="C1.C1Preview.RenderParagraph.Content.html#C1_C1Preview_RenderParagraph_Content">Content</a> of the current inline paragraph.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.fontstyle">FontStyle</a></td>
      <td><span class="parametername">fontStyle</span></td>
      <td><p>The <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.fontstyle">FontStyle</a> to use 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="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><p><b>true</b> if no warnings were generated by this call, <b>false</b> otherwise.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_C1Preview_C1PrintDocument_RenderInlineText_System_String_System_Drawing_FontStyle__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>This method creates a new <a class="xref" href="C1.C1Preview.ParagraphText.html">ParagraphText</a> object
with the specified font style,
and adds it to the current internally maintained <a class="xref" href="C1.C1Preview.RenderParagraph.html">RenderParagraph</a> object.
A new paragraph is started if there is no current one.</p>
<p>
This method can only be used between calls to <a class="xref" href="C1.C1Preview.C1PrintDocument.StartDoc.html#C1_C1Preview_C1PrintDocument_StartDoc">StartDoc()</a> and <a class="xref" href="C1.C1Preview.C1PrintDocument.EndDoc.html#C1_C1Preview_C1PrintDocument_EndDoc">EndDoc()</a>
methods on the current document.
For details, see <a class="xref" href="C1.C1Preview.C1PrintDocument.RenderBlock.html#C1_C1Preview_C1PrintDocument_RenderBlock_C1_C1Preview_RenderObject_">RenderBlock(RenderObject)</a>.
</p>
</div>
<h5 id="C1_C1Preview_C1PrintDocument_RenderInlineText_System_String_System_Drawing_FontStyle__seealso">See Also</h5>
<div class="seealso">
    <div><a class="xref" href="C1.C1Preview.ParagraphText.html">ParagraphText</a></div>
    <div><a class="xref" href="C1.C1Preview.C1PrintDocument.RenderInlineBegin.html#C1_C1Preview_C1PrintDocument_RenderInlineBegin_C1_C1Preview_Style_System_Object_System_Object_">RenderInlineBegin</a>(<a class="xref" href="C1.C1Preview.Style.html">Style</a>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a>)</div>
    <div><a class="xref" href="C1.C1Preview.C1PrintDocument.RenderInlineEnd.html#C1_C1Preview_C1PrintDocument_RenderInlineEnd">RenderInlineEnd</a>()</div>
    <div><a class="xref" href="C1.C1Preview.C1PrintDocument.StartDoc.html#C1_C1Preview_C1PrintDocument_StartDoc">StartDoc</a>()</div>
    <div><a class="xref" href="C1.C1Preview.C1PrintDocument.EndDoc.html#C1_C1Preview_C1PrintDocument_EndDoc">EndDoc</a>()</div>
    <div><a class="xref" href="C1.C1Preview.C1PrintDocument.Generate.html#C1_C1Preview_C1PrintDocument_Generate">Generate</a>()</div>
    <div><a class="xref" href="C1.C1Preview.C1PrintDocument.Warnings.html#C1_C1Preview_C1PrintDocument_Warnings">Warnings</a></div>
</div>


<a id="C1_C1Preview_C1PrintDocument_RenderInlineText_" data-uid="C1.C1Preview.C1PrintDocument.RenderInlineText*"></a>
<h4 id="C1_C1Preview_C1PrintDocument_RenderInlineText_System_String_" data-uid="C1.C1Preview.C1PrintDocument.RenderInlineText(System.String)">RenderInlineText(string)</h4>
<div class="markdown level1 summary"><p>Renders a string into the current inline paragraph.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool RenderInlineText(string text)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function RenderInlineText(text As String) As Boolean</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 string to add to the <a class="xref" href="C1.C1Preview.RenderParagraph.Content.html#C1_C1Preview_RenderParagraph_Content">Content</a> of the current inline 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="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><p><b>true</b> if no warnings were generated by this call, <b>false</b> otherwise.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_C1Preview_C1PrintDocument_RenderInlineText_System_String__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>This method creates a new <a class="xref" href="C1.C1Preview.ParagraphText.html">ParagraphText</a> object
and adds it to the current internally maintained <a class="xref" href="C1.C1Preview.RenderParagraph.html">RenderParagraph</a> object.
A new paragraph is started if there is no current one.</p>
<p>
This method can only be used between calls to <a class="xref" href="C1.C1Preview.C1PrintDocument.StartDoc.html#C1_C1Preview_C1PrintDocument_StartDoc">StartDoc()</a> and <a class="xref" href="C1.C1Preview.C1PrintDocument.EndDoc.html#C1_C1Preview_C1PrintDocument_EndDoc">EndDoc()</a>
methods on the current document.
For details, see <a class="xref" href="C1.C1Preview.C1PrintDocument.RenderBlock.html#C1_C1Preview_C1PrintDocument_RenderBlock_C1_C1Preview_RenderObject_">RenderBlock(RenderObject)</a>.
</p>
</div>
<h5 id="C1_C1Preview_C1PrintDocument_RenderInlineText_System_String__seealso">See Also</h5>
<div class="seealso">
    <div><a class="xref" href="C1.C1Preview.ParagraphText.html">ParagraphText</a></div>
    <div><a class="xref" href="C1.C1Preview.C1PrintDocument.RenderInlineBegin.html#C1_C1Preview_C1PrintDocument_RenderInlineBegin_C1_C1Preview_Style_System_Object_System_Object_">RenderInlineBegin</a>(<a class="xref" href="C1.C1Preview.Style.html">Style</a>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a>)</div>
    <div><a class="xref" href="C1.C1Preview.C1PrintDocument.RenderInlineEnd.html#C1_C1Preview_C1PrintDocument_RenderInlineEnd">RenderInlineEnd</a>()</div>
    <div><a class="xref" href="C1.C1Preview.C1PrintDocument.StartDoc.html#C1_C1Preview_C1PrintDocument_StartDoc">StartDoc</a>()</div>
    <div><a class="xref" href="C1.C1Preview.C1PrintDocument.EndDoc.html#C1_C1Preview_C1PrintDocument_EndDoc">EndDoc</a>()</div>
    <div><a class="xref" href="C1.C1Preview.C1PrintDocument.Generate.html#C1_C1Preview_C1PrintDocument_Generate">Generate</a>()</div>
    <div><a class="xref" href="C1.C1Preview.C1PrintDocument.Warnings.html#C1_C1Preview_C1PrintDocument_Warnings">Warnings</a></div>
</div>
</div>
