# C1.C1Preview.Offsets

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_C1Preview_Offsets" data-uid="C1.C1Preview.Offsets" class="text-break">Offsets Struct
</h1>
  <div class="markdown level0 summary"><p>A structure representing four <a class="xref" href="C1.C1Preview.Unit.html">Unit</a> values
corresponding to the four sides of a rectangluar area.
Used by <a class="xref" href="C1.C1Preview.Style.Padding.html#C1_C1Preview_Style_Padding">Padding</a> and <a class="xref" href="C1.C1Preview.Style.Spacing.html#C1_C1Preview_Style_Spacing">Spacing</a> properties.</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.PrintDocument.4.8.dll</h6>
  <h5 id="C1_C1Preview_Offsets_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public struct Offsets</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Structure Offsets</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_Offsets__ctor_C1_C1Preview_Unit_" data-uid="C1.C1Preview.Offsets.#ctor(C1.C1Preview.Unit)">
          <a class="xref" href="C1.C1Preview.Offsets.-ctor.html#C1_C1Preview_Offsets__ctor_C1_C1Preview_Unit_">Offsets(Unit)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.Offsets.html">Offsets</a> structure,
assigning a single value to all four offset properties.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_Offsets__ctor_System_String_" data-uid="C1.C1Preview.Offsets.#ctor(System.String)">
          <a class="xref" href="C1.C1Preview.Offsets.-ctor.html#C1_C1Preview_Offsets__ctor_System_String_">Offsets(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.Offsets.html">Offsets</a> structure,
assigning a single value to all four offset properties.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_Offsets__ctor_System_String_System_String_System_String_System_String_" data-uid="C1.C1Preview.Offsets.#ctor(System.String,System.String,System.String,System.String)">
          <a class="xref" href="C1.C1Preview.Offsets.-ctor.html#C1_C1Preview_Offsets__ctor_System_String_System_String_System_String_System_String_">Offsets(string, string, string, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.Offsets.html">Offsets</a> structure,
assigning the <a class="xref" href="C1.C1Preview.Offsets.Left.html#C1_C1Preview_Offsets_Left">Left</a>, <a class="xref" href="C1.C1Preview.Offsets.Top.html#C1_C1Preview_Offsets_Top">Top</a>, <a class="xref" href="C1.C1Preview.Offsets.Right.html#C1_C1Preview_Offsets_Right">Right</a> and <a class="xref" href="C1.C1Preview.Offsets.Bottom.html#C1_C1Preview_Offsets_Bottom">Bottom</a>
values.</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_Offsets_All" data-uid="C1.C1Preview.Offsets.All">
          <a class="xref" href="C1.C1Preview.Offsets.All.html#C1_C1Preview_Offsets_All">All</a>
        </td>
        <td class="markdown level1 summary"><p>Sets all four offset values.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_Offsets_Bottom" data-uid="C1.C1Preview.Offsets.Bottom">
          <a class="xref" href="C1.C1Preview.Offsets.Bottom.html#C1_C1Preview_Offsets_Bottom">Bottom</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the bottom offset value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_Offsets_BottomExpr" data-uid="C1.C1Preview.Offsets.BottomExpr">
          <a class="xref" href="C1.C1Preview.Offsets.BottomExpr.html#C1_C1Preview_Offsets_BottomExpr">BottomExpr</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the expression used to calculate <a class="xref" href="C1.C1Preview.Offsets.Bottom.html#C1_C1Preview_Offsets_Bottom">Bottom</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_Offsets_Left" data-uid="C1.C1Preview.Offsets.Left">
          <a class="xref" href="C1.C1Preview.Offsets.Left.html#C1_C1Preview_Offsets_Left">Left</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the left offset value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_Offsets_LeftExpr" data-uid="C1.C1Preview.Offsets.LeftExpr">
          <a class="xref" href="C1.C1Preview.Offsets.LeftExpr.html#C1_C1Preview_Offsets_LeftExpr">LeftExpr</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the expression used to calculate <a class="xref" href="C1.C1Preview.Offsets.Left.html#C1_C1Preview_Offsets_Left">Left</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_Offsets_Right" data-uid="C1.C1Preview.Offsets.Right">
          <a class="xref" href="C1.C1Preview.Offsets.Right.html#C1_C1Preview_Offsets_Right">Right</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the right offset value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_Offsets_RightExpr" data-uid="C1.C1Preview.Offsets.RightExpr">
          <a class="xref" href="C1.C1Preview.Offsets.RightExpr.html#C1_C1Preview_Offsets_RightExpr">RightExpr</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the expression used to calculate <a class="xref" href="C1.C1Preview.Offsets.Right.html#C1_C1Preview_Offsets_Right">Right</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_Offsets_Top" data-uid="C1.C1Preview.Offsets.Top">
          <a class="xref" href="C1.C1Preview.Offsets.Top.html#C1_C1Preview_Offsets_Top">Top</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the top offset value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_Offsets_TopExpr" data-uid="C1.C1Preview.Offsets.TopExpr">
          <a class="xref" href="C1.C1Preview.Offsets.TopExpr.html#C1_C1Preview_Offsets_TopExpr">TopExpr</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the expression used to calculate <a class="xref" href="C1.C1Preview.Offsets.Top.html#C1_C1Preview_Offsets_Top">Top</a>.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
