# GrapeCity.Spreadsheet.RichText.GetRun

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Spreadsheet_RichText_GetRun_" data-uid="GrapeCity.Spreadsheet.RichText.GetRun*">GetRun Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Spreadsheet_RichText_GetRun_" data-uid="GrapeCity.Spreadsheet.RichText.GetRun*"></a>
<h4 id="GrapeCity_Spreadsheet_RichText_GetRun_System_Int32_System_Int32__System_Int32__GrapeCity_Spreadsheet_Font__" data-uid="GrapeCity.Spreadsheet.RichText.GetRun(System.Int32,System.Int32@,System.Int32@,GrapeCity.Spreadsheet.Font@)">GetRun(int, out int, out int, out Font)</h4>
<div class="markdown level1 summary"><p>Gets the attributes of the specified run.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void GetRun(int index, out int start, out int length, out Font font)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub GetRun(index As Integer, ByRef start As Integer, ByRef length As Integer, ByRef font As 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.int32">int</a></td>
      <td><span class="parametername">index</span></td>
      <td><p>The run index.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">start</span></td>
      <td><p>The start character position of the run.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">length</span></td>
      <td><p>The total number of characters of the run.</p>
</td>
    </tr>
    <tr>
      <td><span class="xref">Font</span></td>
      <td><span class="parametername">font</span></td>
      <td><p>The font settings of the run.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
