# GrapeCity.Drawing.PenAlignment

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="GrapeCity_Drawing_PenAlignment" data-uid="GrapeCity.Drawing.PenAlignment" class="text-break">PenAlignment Enum
</h1>
  <div class="markdown level0 summary"><p>Specifies the alignment of a <a class="xref" href="GrapeCity.Drawing.Pen.html">Pen</a> object in relation to the theoretical, zero-width line.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Drawing.html">GrapeCity.Drawing</a></h6>
  <h6><strong>Assembly</strong>: GrapeCity.Spreadsheet.dll</h6>
  <h5 id="GrapeCity_Drawing_PenAlignment_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public enum PenAlignment : byte</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Enum PenAlignment As Byte</code></pre>
  </div>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    <thead>
    </thead></thead><tbody>
      <tr>
        <td id="GrapeCity_Drawing_PenAlignment_Center">Center</td>
        <td><p>Specifies that the <a class="xref" href="GrapeCity.Drawing.Pen.html">Pen</a> object is centered over the theoretical line.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Drawing_PenAlignment_Inset">Inset</td>
        <td><p>Specifies that the <a class="xref" href="GrapeCity.Drawing.Pen.html">Pen</a> is positioned on the inside of the theoretical line.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Drawing_PenAlignment_Outset">Outset</td>
        <td><p>Specifies the <a class="xref" href="GrapeCity.Drawing.Pen.html">Pen</a> is positioned on the outside of the theoretical line.</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
