# C1.C1Preview.CompatibilityOptions.TopLevelPositionRelativeToPageMargins

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_C1Preview_CompatibilityOptions_TopLevelPositionRelativeToPageMargins_" data-uid="C1.C1Preview.CompatibilityOptions.TopLevelPositionRelativeToPageMargins*">TopLevelPositionRelativeToPageMargins Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_C1Preview_CompatibilityOptions_TopLevelPositionRelativeToPageMargins_" data-uid="C1.C1Preview.CompatibilityOptions.TopLevelPositionRelativeToPageMargins*"></a>
<h4 id="C1_C1Preview_CompatibilityOptions_TopLevelPositionRelativeToPageMargins" data-uid="C1.C1Preview.CompatibilityOptions.TopLevelPositionRelativeToPageMargins">TopLevelPositionRelativeToPageMargins</h4>
<div class="markdown level1 summary"><p>Gets or sets a value indicating whether absolute coordinates of top-level
objects in the document are relative to page margins or to physical page
bounds.</p>
<p>
The default value of this property is <b>false</b>, which indicates the
traditional behavior with coordinates relative to page edges.
If set to <b>true</b>, coordinates are considered relative to page margins.
</p><p>
For instance, if this property is <b>false</b> (default), all page margins are 1 in,
and a top-level object's X coordinate is specified as ".5in", the object
would be located 0.5in from the left edge of the page - i.e. in the middle
of the left page margin.
</p><p>
If this property is set to <b>true</b>, the same object would be located 0.5in
to the right of the left page margin - 1.5in from the left edge of the page.
</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool TopLevelPositionRelativeToPageMargins { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property TopLevelPositionRelativeToPageMargins As Boolean</code></pre>
</div>
</div>
