# C1.Document.C1TextSearchManager.FindStart

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Document_C1TextSearchManager_FindStart_" data-uid="C1.Document.C1TextSearchManager.FindStart*">FindStart Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Document_C1TextSearchManager_FindStart_" data-uid="C1.Document.C1TextSearchManager.FindStart*"></a>
<h4 id="C1_Document_C1TextSearchManager_FindStart_System_Int32_C1_Document_SearchScope_C1_Document_C1FindTextParams_" data-uid="C1.Document.C1TextSearchManager.FindStart(System.Int32,C1.Document.SearchScope,C1.Document.C1FindTextParams)">FindStart(int, SearchScope, C1FindTextParams)</h4>
<div class="markdown level1 summary"><p>Finds the first occurrence of a text in the document.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public C1FoundPosition FindStart(int startPageIndex, SearchScope scope, C1FindTextParams findParams)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function FindStart(startPageIndex As Integer, scope As SearchScope, findParams As C1FindTextParams) As C1FoundPosition</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">startPageIndex</span></td>
      <td><p>0-based index of the first page to search.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Document.SearchScope.html">SearchScope</a></td>
      <td><span class="parametername">scope</span></td>
      <td><p>The search scope.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Document.C1FindTextParams.html">C1FindTextParams</a></td>
      <td><span class="parametername">findParams</span></td>
      <td><p>The text search parameters.</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="C1.Document.C1FoundPosition.html">C1FoundPosition</a></td>
      <td><p>The found text position.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Document_C1TextSearchManager_FindStart_" data-uid="C1.Document.C1TextSearchManager.FindStart*"></a>
<h4 id="C1_Document_C1TextSearchManager_FindStart_System_Int32_System_Boolean_C1_Document_C1FindTextParams_" data-uid="C1.Document.C1TextSearchManager.FindStart(System.Int32,System.Boolean,C1.Document.C1FindTextParams)">FindStart(int, bool, C1FindTextParams)</h4>
<div class="markdown level1 summary"><p>Finds the first occurrence of a text in the document.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public C1FoundPosition FindStart(int startPageIndex, bool wholeDocument, C1FindTextParams findParams)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function FindStart(startPageIndex As Integer, wholeDocument As Boolean, findParams As C1FindTextParams) As C1FoundPosition</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">startPageIndex</span></td>
      <td><p>0-based index of the first page to search.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">wholeDocument</span></td>
      <td><p>Indicates whether whole document should be loaded during searching or to the first fragment found.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Document.C1FindTextParams.html">C1FindTextParams</a></td>
      <td><span class="parametername">findParams</span></td>
      <td><p>The text search parameters.</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="C1.Document.C1FoundPosition.html">C1FoundPosition</a></td>
      <td><p>The found text position.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
