# C1.C1Preview.TableVector.Ordinal

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_C1Preview_TableVector_Ordinal_" data-uid="C1.C1Preview.TableVector.Ordinal*">Ordinal Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_C1Preview_TableVector_Ordinal_" data-uid="C1.C1Preview.TableVector.Ordinal*"></a>
<h4 id="C1_C1Preview_TableVector_Ordinal" data-uid="C1.C1Preview.TableVector.Ordinal">Ordinal</h4>
<div class="markdown level1 summary"><p>Gets the 0-based index of the current vector in the containing <a class="xref" href="C1.C1Preview.RenderTable.html">RenderTable</a>
(i.e. the row index for rows, the column index for columns).</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public int Ordinal { get; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public ReadOnly Property Ordinal As Integer</code></pre>
</div>
<h5 id="C1_C1Preview_TableVector_Ordinal_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>In <a class="xref" href="C1.C1Preview.C1PrintDocument.html">C1PrintDocument</a> tables, elements (cells, rows and columns)
are physically created only if they contain data, or if their style differs from default.
Hence the physical position of a <a class="xref" href="C1.C1Preview.TableVector.html">TableVector</a> object (i.e. a row or a column)
in the containing <a class="xref" href="C1.C1Preview.TableVectorCollection.html">TableVectorCollection</a> (accessible via the vector's
<a class="xref" href="C1.C1Preview.TableVector.Owner.html#C1_C1Preview_TableVector_Owner">Owner</a> property) is not the same as the logical index of that row or column
in the table. The <b>Ordinal</b> property allows to retrieve that logical position.</p>
</div>
</div>
