# C1.Framework.Drawing.Gdi.PatternPen.SolidPattern

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Framework_Drawing_Gdi_PatternPen_SolidPattern_" data-uid="C1.Framework.Drawing.Gdi.PatternPen.SolidPattern*">SolidPattern Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Framework_Drawing_Gdi_PatternPen_SolidPattern_" data-uid="C1.Framework.Drawing.Gdi.PatternPen.SolidPattern*"></a>
<h4 id="C1_Framework_Drawing_Gdi_PatternPen_SolidPattern" data-uid="C1.Framework.Drawing.Gdi.PatternPen.SolidPattern">SolidPattern</h4>
<div class="markdown level1 summary"><p>Get a <b>int[]</b> indicate the pattern of <a class="xref" href="C1.Framework.Drawing.Gdi.SolidPen.html">SolidPen</a></p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static int[] SolidPattern { get; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared ReadOnly Property SolidPattern As Integer()</code></pre>
</div>
<h5 id="C1_Framework_Drawing_Gdi_PatternPen_SolidPattern_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>
  The <a class="xref" href="C1.Framework.Drawing.Gdi.Pen.html">Pen</a> create by this pattern is not same as <a class="xref" href="C1.Framework.Drawing.Gdi.SolidPen.html">SolidPen</a>. 
  the <b>PatternPen</b> would always draw solid one pixel and zero pixel space.
</p>
<p>
  Using this style to paint a rectangle, polygon, polyline, it will be lost some pixels at each the corner.
</p>
</div>
</div>
