# C1.C1Preview.C1PrintDocument.RenderInlineBegin

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_C1Preview_C1PrintDocument_RenderInlineBegin_" data-uid="C1.C1Preview.C1PrintDocument.RenderInlineBegin*">RenderInlineBegin Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_C1Preview_C1PrintDocument_RenderInlineBegin_" data-uid="C1.C1Preview.C1PrintDocument.RenderInlineBegin*"></a>
<h4 id="C1_C1Preview_C1PrintDocument_RenderInlineBegin_C1_C1Preview_Style_System_Object_System_Object_" data-uid="C1.C1Preview.C1PrintDocument.RenderInlineBegin(C1.C1Preview.Style,System.Object,System.Object)">RenderInlineBegin(Style, object, object)</h4>
<div class="markdown level1 summary"><p>Begins rendering of a new inline paragraph into the <a class="xref" href="C1.C1Preview.C1PrintDocument.Body.html#C1_C1Preview_C1PrintDocument_Body">Body</a> of the current document,
using the specified <a class="xref" href="C1.C1Preview.C1PrintDocument.Style.html#C1_C1Preview_C1PrintDocument_Style">Style</a> and dimensions.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool RenderInlineBegin(Style style, object width, object height)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function RenderInlineBegin(style As Style, width As Object, height As Object) 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="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 use for the paragraph.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
      <td><span class="parametername">width</span></td>
      <td><p>The width of the paragraph. If <b>null</b>, page (or column for multi-column layouts) width is used.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
      <td><span class="parametername">height</span></td>
      <td><p>The height of the paragraph. If <b>null</b>, <a class="xref" href="C1.C1Preview.Unit.Auto.html#C1_C1Preview_Unit_Auto">Auto</a> is used.</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_RenderInlineBegin_C1_C1Preview_Style_System_Object_System_Object__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>Use this method to set the <a class="xref" href="C1.C1Preview.C1PrintDocument.Style.html#C1_C1Preview_C1PrintDocument_Style">Style</a>, <a class="xref" href="C1.C1Preview.RenderObject.Width.html#C1_C1Preview_RenderObject_Width">Width</a> and
<a class="xref" href="C1.C1Preview.RenderObject.Height.html#C1_C1Preview_RenderObject_Height">Height</a> of the <a class="xref" href="C1.C1Preview.RenderParagraph.html">RenderParagraph</a> object
maintained internally to serve subsequent <b>RenderInline...</b> calls.
The specified parameters are in effect until the started paragraph is ended
by a call to <a class="xref" href="C1.C1Preview.C1PrintDocument.RenderInlineEnd.html#C1_C1Preview_C1PrintDocument_RenderInlineEnd">RenderInlineEnd()</a>, another <a class="xref" href="C1.C1Preview.C1PrintDocument.RenderInlineBegin.html#C1_C1Preview_C1PrintDocument_RenderInlineBegin_C1_C1Preview_Style_System_Object_System_Object_">RenderInlineBegin(Style, object, object)</a>,
or any of the <b>RenderBlock...</b> or <b>RenderDirect...</b> methods.</p>
<p>
It is not necessary to call this method in order to use other <b>RenderInline...</b> methods
(such as <a class="xref" href="C1.C1Preview.C1PrintDocument.RenderInline.html#C1_C1Preview_C1PrintDocument_RenderInline_C1_C1Preview_ParagraphObject_System_Object_System_Object_C1_C1Preview_Style_">RenderInline(ParagraphObject, object, object, Style)</a> or <a class="xref" href="C1.C1Preview.C1PrintDocument.RenderInlineText.html#C1_C1Preview_C1PrintDocument_RenderInlineText_System_String_C1_C1Preview_Style_">RenderInlineText(string, Style)</a>),
but calling this method allows to set the style and dimensions for the paragraph
that will be filled by subsequent <b>RenderInline...</b> calls.
</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_RenderInlineBegin_C1_C1Preview_Style_System_Object_System_Object__seealso">See Also</h5>
<div class="seealso">
    <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>
