# C1.C1Preview.RenderTable

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_C1Preview_RenderTable" data-uid="C1.C1Preview.RenderTable" class="text-break">RenderTable Class
</h1>
  <div class="markdown level0 summary"><p>Represents a table in a <a class="xref" href="C1.C1Preview.C1PrintDocument.html">C1PrintDocument</a>.</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="C1.C1Preview.RenderObject.html">RenderObject</a></div>
    <div class="level2"><span class="xref">RenderTable</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="C1.C1Preview.IStyleOwner.html">IStyleOwner</a></div>
    <div><a class="xref" href="C1.C1Preview.IDocumentLocation.html">IDocumentLocation</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.C1Preview.html">C1.C1Preview</a></h6>
  <h6><strong>Assembly</strong>: C1.PrintDocument.4.8.dll</h6>
  <h5 id="C1_C1Preview_RenderTable_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class RenderTable : RenderObject, IStyleOwner, IDocumentLocation</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class RenderTable
    Inherits RenderObject
    Implements IStyleOwner, IDocumentLocation</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_C1Preview_RenderTable__ctor" data-uid="C1.C1Preview.RenderTable.#ctor">
          <a class="xref" href="C1.C1Preview.RenderTable.-ctor.html#C1_C1Preview_RenderTable__ctor">RenderTable()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.RenderTable.html">RenderTable</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderTable__ctor_System_Int32_System_Int32_" data-uid="C1.C1Preview.RenderTable.#ctor(System.Int32,System.Int32)">
          <a class="xref" href="C1.C1Preview.RenderTable.-ctor.html#C1_C1Preview_RenderTable__ctor_System_Int32_System_Int32_">RenderTable(int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.RenderTable.html">RenderTable</a> class,
assigning the row and column counts
(see <a class="xref" href="C1.C1Preview.TableVectorCollection.Count.html#C1_C1Preview_TableVectorCollection_Count">Count</a>).</p>
</td>
      </tr>
    </tbody>
  </table>
  <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="C1_C1Preview_RenderTable_CellStyle" data-uid="C1.C1Preview.RenderTable.CellStyle">
          <a class="xref" href="C1.C1Preview.RenderTable.CellStyle.html#C1_C1Preview_RenderTable_CellStyle">CellStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.C1Preview.Style.html">Style</a> of objects contained in the cells
of the current table.
See <a class="xref" href="C1.C1Preview.TableCell.CellStyle.html#C1_C1Preview_TableCell_CellStyle">CellStyle</a> for details.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderTable_Cells" data-uid="C1.C1Preview.RenderTable.Cells">
          <a class="xref" href="C1.C1Preview.RenderTable.Cells.html#C1_C1Preview_RenderTable_Cells">Cells</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the collection of cells of the current <a class="xref" href="C1.C1Preview.RenderTable.html">RenderTable</a>.
Getting a cell with arbitrary row and column indices on this collection
always returns a <a class="xref" href="C1.C1Preview.TableCell.html">TableCell</a> object, initializing it if necessary.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderTable_ColGroups" data-uid="C1.C1Preview.RenderTable.ColGroups">
          <a class="xref" href="C1.C1Preview.RenderTable.ColGroups.html#C1_C1Preview_RenderTable_ColGroups">ColGroups</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the collection of column groups defined on the current <a class="xref" href="C1.C1Preview.RenderTable.html">RenderTable</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderTable_Cols" data-uid="C1.C1Preview.RenderTable.Cols">
          <a class="xref" href="C1.C1Preview.RenderTable.Cols.html#C1_C1Preview_RenderTable_Cols">Cols</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the collection of columns of the current <a class="xref" href="C1.C1Preview.RenderTable.html">RenderTable</a>.
Getting a column with an arbitrary index on this collection
always returns a <a class="xref" href="C1.C1Preview.TableCol.html">TableCol</a> object, initializing it if necessary.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderTable_ColsCanSplit" data-uid="C1.C1Preview.RenderTable.ColsCanSplit">
          <a class="xref" href="C1.C1Preview.RenderTable.ColsCanSplit.html#C1_C1Preview_RenderTable_ColsCanSplit">ColsCanSplit</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether table columns can split between
pages (you can override this value for individual columns using
<a class="xref" href="C1.C1Preview.TableVector.CanSplit.html#C1_C1Preview_TableVector_CanSplit">CanSplit</a> property). The default is false.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderTable_ColsSplitBehavior" data-uid="C1.C1Preview.RenderTable.ColsSplitBehavior">
          <a class="xref" href="C1.C1Preview.RenderTable.ColsSplitBehavior.html#C1_C1Preview_RenderTable_ColsSplitBehavior">ColsSplitBehavior</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value determining how a table column is treated
when it is too wide to fit in the horizontal space available on the current page.
(you can override this value for individual columns using
<a class="xref" href="C1.C1Preview.TableVector.SplitBehavior.html#C1_C1Preview_TableVector_SplitBehavior">SplitBehavior</a> property).</p>
<p>The default is <a class="xref" href="C1.C1Preview.SplitBehaviorEnum.html#C1_C1Preview_SplitBehaviorEnum_Never">Never</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderTable_ColumnSizingMode" data-uid="C1.C1Preview.RenderTable.ColumnSizingMode">
          <a class="xref" href="C1.C1Preview.RenderTable.ColumnSizingMode.html#C1_C1Preview_RenderTable_ColumnSizingMode">ColumnSizingMode</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value determining how the widths of table columns are
calculated. The default is <a class="xref" href="C1.C1Preview.TableSizingModeEnum.html#C1_C1Preview_TableSizingModeEnum_Fixed">Fixed</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderTable_DataBindingMode" data-uid="C1.C1Preview.RenderTable.DataBindingMode">
          <a class="xref" href="C1.C1Preview.RenderTable.DataBindingMode.html#C1_C1Preview_RenderTable_DataBindingMode">DataBindingMode</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a combination of <a class="xref" href="C1.C1Preview.DataBindingModeEnum.html">DataBindingModeEnum</a> flags
specifying the data binding mode of the current object.
Takes into consideration data binding of row and column groups.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderTable_HorzPageFooterOnLastPage" data-uid="C1.C1Preview.RenderTable.HorzPageFooterOnLastPage">
          <a class="xref" href="C1.C1Preview.RenderTable.HorzPageFooterOnLastPage.html#C1_C1Preview_RenderTable_HorzPageFooterOnLastPage">HorzPageFooterOnLastPage</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether a horizontal page footer, if defined (see <b>remarks</b>),
should be printed on the last of the pages spanned by the current table.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderTable_HorzPageHeaderOnFirstPage" data-uid="C1.C1Preview.RenderTable.HorzPageHeaderOnFirstPage">
          <a class="xref" href="C1.C1Preview.RenderTable.HorzPageHeaderOnFirstPage.html#C1_C1Preview_RenderTable_HorzPageHeaderOnFirstPage">HorzPageHeaderOnFirstPage</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether a horizontal page header, if defined (see <b>remarks</b>),
should be printed on the first of the pages spanned by the current table.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderTable_RepeatGridLinesHorz" data-uid="C1.C1Preview.RenderTable.RepeatGridLinesHorz">
          <a class="xref" href="C1.C1Preview.RenderTable.RepeatGridLinesHorz.html#C1_C1Preview_RenderTable_RepeatGridLinesHorz">RepeatGridLinesHorz</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether horizontal gridlines (see <a class="xref" href="C1.C1Preview.Style.GridLines.html#C1_C1Preview_Style_GridLines">GridLines</a>)
should be drawn when the current table is split between two or more pages.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderTable_RepeatGridLinesVert" data-uid="C1.C1Preview.RenderTable.RepeatGridLinesVert">
          <a class="xref" href="C1.C1Preview.RenderTable.RepeatGridLinesVert.html#C1_C1Preview_RenderTable_RepeatGridLinesVert">RepeatGridLinesVert</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether vertical gridlines (see <a class="xref" href="C1.C1Preview.Style.GridLines.html#C1_C1Preview_Style_GridLines">GridLines</a>)
should be drawn when the current table is split between two or more horizontal (extender) pages.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderTable_RowGroups" data-uid="C1.C1Preview.RenderTable.RowGroups">
          <a class="xref" href="C1.C1Preview.RenderTable.RowGroups.html#C1_C1Preview_RenderTable_RowGroups">RowGroups</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the collection of row groups defined on the current <a class="xref" href="C1.C1Preview.RenderTable.html">RenderTable</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderTable_RowSizingMode" data-uid="C1.C1Preview.RenderTable.RowSizingMode">
          <a class="xref" href="C1.C1Preview.RenderTable.RowSizingMode.html#C1_C1Preview_RenderTable_RowSizingMode">RowSizingMode</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value determining how the heights of table rows are
calculated. The default is <a class="xref" href="C1.C1Preview.TableSizingModeEnum.html#C1_C1Preview_TableSizingModeEnum_Auto">Auto</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderTable_Rows" data-uid="C1.C1Preview.RenderTable.Rows">
          <a class="xref" href="C1.C1Preview.RenderTable.Rows.html#C1_C1Preview_RenderTable_Rows">Rows</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the collection of rows of the current <a class="xref" href="C1.C1Preview.RenderTable.html">RenderTable</a>.
Getting a row with an arbitrary index on this collection
always returns a <a class="xref" href="C1.C1Preview.TableRow.html">TableRow</a> object, initializing it if necessary.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderTable_RowsCanSplit" data-uid="C1.C1Preview.RenderTable.RowsCanSplit">
          <a class="xref" href="C1.C1Preview.RenderTable.RowsCanSplit.html#C1_C1Preview_RenderTable_RowsCanSplit">RowsCanSplit</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether table rows can split between
pages (you can override this value for individual rows using
<a class="xref" href="C1.C1Preview.TableVector.CanSplit.html#C1_C1Preview_TableVector_CanSplit">CanSplit</a> property). The default is false.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderTable_RowsSplitBehavior" data-uid="C1.C1Preview.RenderTable.RowsSplitBehavior">
          <a class="xref" href="C1.C1Preview.RenderTable.RowsSplitBehavior.html#C1_C1Preview_RenderTable_RowsSplitBehavior">RowsSplitBehavior</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value determining how a table row is treated
when it is too high to fit in the vertical space available on the current page.
(you can override this value for individual rows using
<a class="xref" href="C1.C1Preview.TableVector.SplitBehavior.html#C1_C1Preview_TableVector_SplitBehavior">SplitBehavior</a> property).</p>
<p>The default is <a class="xref" href="C1.C1Preview.SplitBehaviorEnum.html#C1_C1Preview_SplitBehaviorEnum_Never">Never</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderTable_Stretch" data-uid="C1.C1Preview.RenderTable.Stretch">
          <a class="xref" href="C1.C1Preview.RenderTable.Stretch.html#C1_C1Preview_RenderTable_Stretch">Stretch</a>
        </td>
        <td class="markdown level1 summary"><p>Obsolete. Use <a class="xref" href="C1.C1Preview.RenderTable.StretchColumns.html#C1_C1Preview_RenderTable_StretchColumns">StretchColumns</a> instead.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderTable_StretchColumns" data-uid="C1.C1Preview.RenderTable.StretchColumns">
          <a class="xref" href="C1.C1Preview.RenderTable.StretchColumns.html#C1_C1Preview_RenderTable_StretchColumns">StretchColumns</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the mode of stretching the columns of the current table
when filling an empty space on the right of the table.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderTable_StretchRows" data-uid="C1.C1Preview.RenderTable.StretchRows">
          <a class="xref" href="C1.C1Preview.RenderTable.StretchRows.html#C1_C1Preview_RenderTable_StretchRows">StretchRows</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the mode of stretching the rows of the current table
when filling an empty space below the table.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderTable_UserCellGroups" data-uid="C1.C1Preview.RenderTable.UserCellGroups">
          <a class="xref" href="C1.C1Preview.RenderTable.UserCellGroups.html#C1_C1Preview_RenderTable_UserCellGroups">UserCellGroups</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the collection of <a class="xref" href="C1.C1Preview.UserCellGroup.html">UserCellGroup</a> objects defined on the current table.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderTable_VertPageFooterOnLastPage" data-uid="C1.C1Preview.RenderTable.VertPageFooterOnLastPage">
          <a class="xref" href="C1.C1Preview.RenderTable.VertPageFooterOnLastPage.html#C1_C1Preview_RenderTable_VertPageFooterOnLastPage">VertPageFooterOnLastPage</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether a vertical page footer, if defined (see <b>remarks</b>),
should be printed on the last of the horizontal pages spanned by the current table.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderTable_VertPageHeaderOnFirstPage" data-uid="C1.C1Preview.RenderTable.VertPageHeaderOnFirstPage">
          <a class="xref" href="C1.C1Preview.RenderTable.VertPageHeaderOnFirstPage.html#C1_C1Preview_RenderTable_VertPageHeaderOnFirstPage">VertPageHeaderOnFirstPage</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether a vertical page header, if defined (see <b>remarks</b>),
should be printed on the first of the horizontal pages spanned by the current table.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_C1Preview_RenderTable_AssignFrom_C1_C1Preview_RenderObject_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_" data-uid="C1.C1Preview.RenderTable.AssignFrom(C1.C1Preview.RenderObject,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean)">
          <a class="xref" href="C1.C1Preview.RenderTable.AssignFrom.html#C1_C1Preview_RenderTable_AssignFrom_C1_C1Preview_RenderObject_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_">AssignFrom(RenderObject, bool, bool, bool, bool, bool, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Assigns (copies) properties from another <a class="xref" href="C1.C1Preview.RenderObject.html">RenderObject</a> to the current object.
Calls the base <a class="xref" href="C1.C1Preview.RenderObject.AssignFrom.html#C1_C1Preview_RenderObject_AssignFrom_C1_C1Preview_RenderObject_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_">AssignFrom(RenderObject, bool, bool, bool, bool, bool, bool)</a> method.
If <code class="paramref">source</code> is a <a class="xref" href="C1.C1Preview.RenderTable.html">RenderTable</a>, also copies <a class="xref" href="C1.C1Preview.RenderTable.html">RenderTable</a>-specific properties.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderTable_AssignFrom_C1_C1Preview_RenderObject_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_" data-uid="C1.C1Preview.RenderTable.AssignFrom(C1.C1Preview.RenderObject,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean)">
          <a class="xref" href="C1.C1Preview.RenderTable.AssignFrom.html#C1_C1Preview_RenderTable_AssignFrom_C1_C1Preview_RenderObject_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_">AssignFrom(RenderObject, bool, bool, bool, bool, bool, bool, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Assigns (copies) properties from another <a class="xref" href="C1.C1Preview.RenderObject.html">RenderObject</a> to the current object.
Calls the base <a class="xref" href="C1.C1Preview.RenderObject.AssignFrom.html#C1_C1Preview_RenderObject_AssignFrom_C1_C1Preview_RenderObject_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_">AssignFrom(RenderObject, bool, bool, bool, bool, bool, bool)</a> method.
If <code class="paramref">source</code> is a <a class="xref" href="C1.C1Preview.RenderTable.html">RenderTable</a>, also copies <a class="xref" href="C1.C1Preview.RenderTable.html">RenderTable</a>-specific properties.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderTable_CreateSame" data-uid="C1.C1Preview.RenderTable.CreateSame">
          <a class="xref" href="C1.C1Preview.RenderTable.CreateSame.html#C1_C1Preview_RenderTable_CreateSame">CreateSame()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates new empty <a class="xref" href="C1.C1Preview.RenderTable.html">RenderTable</a> object
linked with same <a class="xref" href="C1.C1Preview.C1PrintDocument.html">C1PrintDocument</a> as current object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderTable_ShouldSerializeCellStyle" data-uid="C1.C1Preview.RenderTable.ShouldSerializeCellStyle">
          <a class="xref" href="C1.C1Preview.RenderTable.ShouldSerializeCellStyle.html#C1_C1Preview_RenderTable_ShouldSerializeCellStyle">ShouldSerializeCellStyle()</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether the <a class="xref" href="C1.C1Preview.RenderTable.CellStyle.html#C1_C1Preview_RenderTable_CellStyle">CellStyle</a> property should be serialized.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="seealso">See Also</h3>
  <div class="seealso">
      <div><a class="xref" href="C1.C1Preview.TableVector.html">TableVector</a></div>
      <div><a class="xref" href="C1.C1Preview.TableRow.html">TableRow</a></div>
      <div><a class="xref" href="C1.C1Preview.TableCol.html">TableCol</a></div>
      <div><a class="xref" href="C1.C1Preview.TableCell.html">TableCell</a></div>
      <div><a class="xref" href="C1.C1Preview.TableVectorGroup.html">TableVectorGroup</a></div>
      <div><a class="xref" href="C1.C1Preview.UserCellGroup.html">UserCellGroup</a></div>
      <div><a class="xref" href="C1.C1Preview.TableRowCollection.html">TableRowCollection</a></div>
      <div><a class="xref" href="C1.C1Preview.TableColCollection.html">TableColCollection</a></div>
      <div><a class="xref" href="C1.C1Preview.TableCellCollection.html">TableCellCollection</a></div>
      <div><a class="xref" href="C1.C1Preview.TableVectorGroupCollection.html">TableVectorGroupCollection</a></div>
      <div><a class="xref" href="C1.C1Preview.UserCellGroupCollection.html">UserCellGroupCollection</a></div>
  </div>

</div>
