# C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.SetCircumDirection

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_SetCircumDirection_" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.SetCircumDirection*">SetCircumDirection Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_SetCircumDirection_" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.SetCircumDirection*"></a>
<h4 id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_SetCircumDirection_C1_Framework_Drawing_Gdi_DeviceContexts_CircumDirection_" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.SetCircumDirection(C1.Framework.Drawing.Gdi.DeviceContexts.CircumDirection)">SetCircumDirection(CircumDirection)</h4>
<div class="markdown level1 summary"><p>Sets the drawing direction of the circle shapes.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public virtual CircumDirection SetCircumDirection(CircumDirection circumDirection)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Overridable Function SetCircumDirection(circumDirection As CircumDirection) As CircumDirection</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.CircumDirection.html">CircumDirection</a></td>
      <td><span class="parametername">circumDirection</span></td>
      <td><p>A <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.CircumDirection.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_CircumDirection">CircumDirection</a> indicates the circum-direction.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.CircumDirection.html">CircumDirection</a></td>
      <td><p>A <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.CircumDirection.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_CircumDirection">CircumDirection</a> indicates the previous circum-direction.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_SetCircumDirection_C1_Framework_Drawing_Gdi_DeviceContexts_CircumDirection__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>The default direction is <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.CircumDirection.html#C1_Framework_Drawing_Gdi_DeviceContexts_CircumDirection_Counterclockwise">Counterclockwise</a>.
The SetCircumDirection function specifies the direction in which the following functions draw:
<a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.DrawArc.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_DrawArc_System_Drawing_Point_System_UInt32_System_Single_System_Single_">DrawArc(Point, uint, float, float)</a>,
<a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.DrawArc.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_DrawArc_System_Drawing_Rectangle_System_Drawing_Point_System_Drawing_Point_">DrawArc(Rectangle, Point, Point)</a>
<a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.PaintChord.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_PaintChord_System_Drawing_Rectangle_System_Drawing_Point_System_Drawing_Point_">PaintChord(Rectangle, Point, Point)</a>
<a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.PaintEllipse.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_PaintEllipse_System_Drawing_Rectangle_">PaintEllipse(Rectangle)</a>
<a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.PaintPie.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_PaintPie_System_Drawing_Rectangle_System_Drawing_Point_System_Drawing_Point_">PaintPie(Rectangle, Point, Point)</a>
<a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.PaintRectangle.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_PaintRectangle_System_Drawing_Rectangle_">PaintRectangle(Rectangle)</a>
<a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.PaintRoundRectangle.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_PaintRoundRectangle_System_Drawing_Rectangle_System_Int32_System_Int32_">PaintRoundRectangle(Rectangle, int, int)</a></p>
</div>
</div>
