# C1.C1Preview.IDocumentLocation

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_C1Preview_IDocumentLocation" data-uid="C1.C1Preview.IDocumentLocation" class="text-break">IDocumentLocation Interface
</h1>
  <div class="markdown level0 summary"><p>Describes a location within a <a class="xref" href="C1.C1Preview.C1PrintDocument.html">C1PrintDocument</a>
(used e.g. as the target of a hyperlink etc.).
The location is identified by a page and a rectangle on that page.
The rectangle's unit of measurement is determined by the document's
<a class="xref" href="C1.C1Preview.C1PrintDocument.ResolvedUnit.html#C1_C1Preview_C1PrintDocument_ResolvedUnit">ResolvedUnit</a> property.
Classes that implement this interface are
<a class="xref" href="C1.C1Preview.C1Page.html">C1Page</a>, <a class="xref" href="C1.C1Preview.RenderObject.html">RenderObject</a> and <a class="xref" href="C1.C1Preview.C1Anchor.html">C1Anchor</a>.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.C1Preview.html">C1.C1Preview</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.PrintDocument.4.6.2.dll</h6>
  <h5 id="C1_C1Preview_IDocumentLocation_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface IDocumentLocation</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Interface IDocumentLocation</code></pre>
  </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="C1_C1Preview_IDocumentLocation_Location" data-uid="C1.C1Preview.IDocumentLocation.Location">
          <a class="xref" href="C1.C1Preview.IDocumentLocation.Location.html#C1_C1Preview_IDocumentLocation_Location">Location</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.C1Preview.RectangleD.html">RectangleD</a> enclosing this location.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_IDocumentLocation_LocationDpi" data-uid="C1.C1Preview.IDocumentLocation.LocationDpi">
          <a class="xref" href="C1.C1Preview.IDocumentLocation.LocationDpi.html#C1_C1Preview_IDocumentLocation_LocationDpi">LocationDpi</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the resolution (DPI) used by the <a class="xref" href="C1.C1Preview.IDocumentLocation.Location.html#C1_C1Preview_IDocumentLocation_Location">Location</a> property
(relevant only if the units used are <a class="xref" href="C1.C1Preview.UnitTypeEnum.html#C1_C1Preview_UnitTypeEnum_Pixel">Pixel</a>).</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_IDocumentLocation_LocationUnit" data-uid="C1.C1Preview.IDocumentLocation.LocationUnit">
          <a class="xref" href="C1.C1Preview.IDocumentLocation.LocationUnit.html#C1_C1Preview_IDocumentLocation_LocationUnit">LocationUnit</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.C1Preview.UnitTypeEnum.html">UnitTypeEnum</a> used by the <a class="xref" href="C1.C1Preview.IDocumentLocation.Location.html#C1_C1Preview_IDocumentLocation_Location">Location</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_IDocumentLocation_PageIndex" data-uid="C1.C1Preview.IDocumentLocation.PageIndex">
          <a class="xref" href="C1.C1Preview.IDocumentLocation.PageIndex.html#C1_C1Preview_IDocumentLocation_PageIndex">PageIndex</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the index of page (zero-based) containing this location.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_IDocumentLocation_PageNo" data-uid="C1.C1Preview.IDocumentLocation.PageNo">
          <a class="xref" href="C1.C1Preview.IDocumentLocation.PageNo.html#C1_C1Preview_IDocumentLocation_PageNo">PageNo</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the logical number of page containing this location.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
