# C1.C1Preview.DocumentLocation

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_C1Preview_DocumentLocation" data-uid="C1.C1Preview.DocumentLocation" class="text-break">DocumentLocation Class
</h1>
  <div class="markdown level0 summary"><p>Represents a position within a generated document
as a combination of the page index and the area on that page.</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">DocumentLocation</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="C1.C1Preview.IDocumentLocation.html">IDocumentLocation</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.icloneable">ICloneable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.C1Preview.html">C1.C1Preview</a></h6>
  <h6><strong>Assembly</strong>: C1.PrintDocument.4.8.dll</h6>
  <h5 id="C1_C1Preview_DocumentLocation_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[C1ClassSerialization(true)]
public class DocumentLocation : IDocumentLocation, ICloneable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;C1ClassSerialization(True)&gt;
Public Class DocumentLocation
    Implements IDocumentLocation, ICloneable</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_C1Preview_DocumentLocation__ctor_C1_C1Preview_C1Page_" data-uid="C1.C1Preview.DocumentLocation.#ctor(C1.C1Preview.C1Page)">
          <a class="xref" href="C1.C1Preview.DocumentLocation.-ctor.html#C1_C1Preview_DocumentLocation__ctor_C1_C1Preview_C1Page_">DocumentLocation(C1Page)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.DocumentLocation.html">DocumentLocation</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_DocumentLocation__ctor_C1_C1Preview_C1Page_C1_C1Preview_RectangleD_" data-uid="C1.C1Preview.DocumentLocation.#ctor(C1.C1Preview.C1Page,C1.C1Preview.RectangleD)">
          <a class="xref" href="C1.C1Preview.DocumentLocation.-ctor.html#C1_C1Preview_DocumentLocation__ctor_C1_C1Preview_C1Page_C1_C1Preview_RectangleD_">DocumentLocation(C1Page, RectangleD)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.DocumentLocation.html">DocumentLocation</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_DocumentLocation__ctor_C1_C1Preview_IDocumentLocation_" data-uid="C1.C1Preview.DocumentLocation.#ctor(C1.C1Preview.IDocumentLocation)">
          <a class="xref" href="C1.C1Preview.DocumentLocation.-ctor.html#C1_C1Preview_DocumentLocation__ctor_C1_C1Preview_IDocumentLocation_">DocumentLocation(IDocumentLocation)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.DocumentLocation.html">DocumentLocation</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_DocumentLocation__ctor_System_Int32_" data-uid="C1.C1Preview.DocumentLocation.#ctor(System.Int32)">
          <a class="xref" href="C1.C1Preview.DocumentLocation.-ctor.html#C1_C1Preview_DocumentLocation__ctor_System_Int32_">DocumentLocation(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.DocumentLocation.html">DocumentLocation</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_DocumentLocation__ctor_System_Int32_System_Int32_C1_C1Preview_RectangleD_C1_C1Preview_UnitTypeEnum_System_Single_" data-uid="C1.C1Preview.DocumentLocation.#ctor(System.Int32,System.Int32,C1.C1Preview.RectangleD,C1.C1Preview.UnitTypeEnum,System.Single)">
          <a class="xref" href="C1.C1Preview.DocumentLocation.-ctor.html#C1_C1Preview_DocumentLocation__ctor_System_Int32_System_Int32_C1_C1Preview_RectangleD_C1_C1Preview_UnitTypeEnum_System_Single_">DocumentLocation(int, int, RectangleD, UnitTypeEnum, float)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.DocumentLocation.html">DocumentLocation</a> class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <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="C1_C1Preview_DocumentLocation_Bounds" data-uid="C1.C1Preview.DocumentLocation.Bounds">
          <a class="xref" href="C1.C1Preview.DocumentLocation.Bounds.html#C1_C1Preview_DocumentLocation_Bounds">Bounds</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the bounds on the target page, in <a class="xref" href="C1.C1Preview.DocumentLocation.Units.html#C1_C1Preview_DocumentLocation_Units">Units</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_DocumentLocation_Dpi" data-uid="C1.C1Preview.DocumentLocation.Dpi">
          <a class="xref" href="C1.C1Preview.DocumentLocation.Dpi.html#C1_C1Preview_DocumentLocation_Dpi">Dpi</a>
        </td>
        <td class="markdown level1 summary"><p>Unit resolution if <a class="xref" href="C1.C1Preview.DocumentLocation.Units.html#C1_C1Preview_DocumentLocation_Units">Units</a> is in pixels.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_DocumentLocation_PageIndex" data-uid="C1.C1Preview.DocumentLocation.PageIndex">
          <a class="xref" href="C1.C1Preview.DocumentLocation.PageIndex.html#C1_C1Preview_DocumentLocation_PageIndex">PageIndex</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the target 0-based page index.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_DocumentLocation_PageNo" data-uid="C1.C1Preview.DocumentLocation.PageNo">
          <a class="xref" href="C1.C1Preview.DocumentLocation.PageNo.html#C1_C1Preview_DocumentLocation_PageNo">PageNo</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the target logical page number.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_DocumentLocation_Units" data-uid="C1.C1Preview.DocumentLocation.Units">
          <a class="xref" href="C1.C1Preview.DocumentLocation.Units.html#C1_C1Preview_DocumentLocation_Units">Units</a>
        </td>
        <td class="markdown level1 summary"><p>Units used by <a class="xref" href="C1.C1Preview.DocumentLocation.Bounds.html#C1_C1Preview_DocumentLocation_Bounds">Bounds</a>.</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="C1_C1Preview_DocumentLocation_Clone" data-uid="C1.C1Preview.DocumentLocation.Clone">
          <a class="xref" href="C1.C1Preview.DocumentLocation.Clone.html#C1_C1Preview_DocumentLocation_Clone">Clone()</a>
        </td>
        <td class="markdown level1 summary"><p>Clones the current <a class="xref" href="C1.C1Preview.DocumentLocation.html">DocumentLocation</a>.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
