# GrapeCity.Documents.Word.Templates.BatchStepProcessor

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Word_Templates_BatchStepProcessor" data-uid="GrapeCity.Documents.Word.Templates.BatchStepProcessor" class="text-break">BatchStepProcessor Class
</h1>
  <div class="markdown level0 summary"><p>Provides step-by-step control over batch processing.</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"><span class="xref">BatchStepProcessor</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Documents.Word.Templates.html">GrapeCity.Documents.Word.Templates</a></h6>
  <h6><strong>Assembly</strong>: DS.Documents.Word.dll</h6>
  <h5 id="GrapeCity_Documents_Word_Templates_BatchStepProcessor_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class BatchStepProcessor</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class BatchStepProcessor</code></pre>
  </div>
  <h5 id="GrapeCity_Documents_Word_Templates_BatchStepProcessor_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>Allows callers to manually control iteration through data records.
Useful when you need custom logic between iterations or want to skip certain records.
The Context is invalidated if any other template operations are performed.</p>
</div>
  <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="GrapeCity_Documents_Word_Templates_BatchStepProcessor_MaxRecordIndex" data-uid="GrapeCity.Documents.Word.Templates.BatchStepProcessor.MaxRecordIndex">
          <a class="xref" href="GrapeCity.Documents.Word.Templates.BatchStepProcessor.MaxRecordIndex.html#GrapeCity_Documents_Word_Templates_BatchStepProcessor_MaxRecordIndex">MaxRecordIndex</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the zero-based index of the last record available for batch processing.</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="GrapeCity_Documents_Word_Templates_BatchStepProcessor_ProcessRecord_System_Int32_System_Action_" data-uid="GrapeCity.Documents.Word.Templates.BatchStepProcessor.ProcessRecord(System.Int32,System.Action)">
          <a class="xref" href="GrapeCity.Documents.Word.Templates.BatchStepProcessor.ProcessRecord.html#GrapeCity_Documents_Word_Templates_BatchStepProcessor_ProcessRecord_System_Int32_System_Action_">ProcessRecord(int, Action)</a>
        </td>
        <td class="markdown level1 summary"><p>Executes a single step of batch processing.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
