# C1.Document.Export.Ssrs.PaginatedExporter.GetTotalPageCount

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Document_Export_Ssrs_PaginatedExporter_GetTotalPageCount_" data-uid="C1.Document.Export.Ssrs.PaginatedExporter.GetTotalPageCount*">GetTotalPageCount Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Document_Export_Ssrs_PaginatedExporter_GetTotalPageCount_" data-uid="C1.Document.Export.Ssrs.PaginatedExporter.GetTotalPageCount*"></a>
<h4 id="C1_Document_Export_Ssrs_PaginatedExporter_GetTotalPageCount_System_String_C1_Document_IExecutionContext_System_Collections_Generic_Dictionary_System_Int32_System_Byte____" data-uid="C1.Document.Export.Ssrs.PaginatedExporter.GetTotalPageCount(System.String,C1.Document.IExecutionContext,System.Collections.Generic.Dictionary{System.Int32,System.Byte[]})">GetTotalPageCount(string, IExecutionContext, Dictionary&lt;int, byte[]&gt;)</h4>
<div class="markdown level1 summary"><p>Returns total page count.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected int GetTotalPageCount(string devInfoFmt, IExecutionContext context, Dictionary&lt;int, byte[]&gt; pages)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Function GetTotalPageCount(devInfoFmt As String, context As IExecutionContext, pages As Dictionary(Of Integer, Byte())) As Integer</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.string">string</a></td>
      <td><span class="parametername">devInfoFmt</span></td>
      <td></td>
    </tr>
    <tr>
      <td><span class="xref">IExecutionContext</span></td>
      <td><span class="parametername">context</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2">Dictionary</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.byte">byte</a>[]&gt;</td>
      <td><span class="parametername">pages</span></td>
      <td></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.int32">int</a></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
