# GrapeCity.Drawing.Pen.Attributes

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="GrapeCity_Drawing_Pen_Attributes" data-uid="GrapeCity.Drawing.Pen.Attributes" class="text-break">Pen.Attributes Enum
</h1>
  <div class="markdown level0 summary"><p>Represents all attributes of the pen.</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_Pen_Attributes_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public enum Pen.Attributes : short</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Enum Pen.Attributes As Short</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_Pen_Attributes_Alignment">Alignment</td>
        <td><p>The alignment.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Drawing_Pen_Attributes_Brush">Brush</td>
        <td><p>The fill brush.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Drawing_Pen_Attributes_DashPattern">DashPattern</td>
        <td><p>The custom dashes and spaces.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Drawing_Pen_Attributes_DashStyle">DashStyle</td>
        <td><p>The style used for dashed lines.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Drawing_Pen_Attributes_LineCap">LineCap</td>
        <td><p>The line cap style.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Drawing_Pen_Attributes_LineEndHead">LineEndHead</td>
        <td><p>The custom cap to use at the beginning of lines.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Drawing_Pen_Attributes_LineEndTail">LineEndTail</td>
        <td><p>The custom cap to use at the end of lines</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Drawing_Pen_Attributes_LineJoin">LineJoin</td>
        <td><p>The join style for the ends of two consecutive lines.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Drawing_Pen_Attributes_MiterLimit">MiterLimit</td>
        <td><p>The limit of the thickness of the join on a mitered corner.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Drawing_Pen_Attributes_Style">Style</td>
        <td><p>The compound pen.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Drawing_Pen_Attributes_Width">Width</td>
        <td><p>The width of pen.</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
