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

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext" class="text-break">DeviceContext Class
</h1>
  <div class="markdown level0 summary"><p>Represents the GDI device conext.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.marshalbyrefobject">MarshalByRefObject</a></div>
    <div class="level2"><span class="xref">DeviceContext</span></div>
      <div class="level3"><a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.CompatibleDeviceContext.html">CompatibleDeviceContext</a></div>
      <div class="level3"><a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.GdiplusGraphicDeviceContext.html">GdiplusGraphicDeviceContext</a></div>
      <div class="level3"><a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.RawDeviceContext.html">RawDeviceContext</a></div>
      <div class="level3"><a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.WindowDeviceContext.html">WindowDeviceContext</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.idevicecontext">IDeviceContext</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.html">C1.Framework.Drawing.Gdi.DeviceContexts</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.C1Input.4.8.dll</h6>
  <h5 id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class DeviceContext : MarshalByRefObject, IDeviceContext, IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public MustInherit Class DeviceContext
    Inherits MarshalByRefObject
    Implements IDeviceContext, IDisposable</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_Framework_Drawing_Gdi_DeviceContexts_DeviceContext__ctor" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.#ctor">
          <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.-ctor.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext__ctor">DeviceContext()</a>
        </td>
        <td class="markdown level1 summary"></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_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_BackgroundColor" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.BackgroundColor">
          <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.BackgroundColor.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_BackgroundColor">BackgroundColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the color of the background of the device context.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_BackgroundMode" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.BackgroundMode">
          <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.BackgroundMode.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_BackgroundMode">BackgroundMode</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the background mode of the device context.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_CircumDirection" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.CircumDirection">
          <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.CircumDirection.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_CircumDirection">CircumDirection</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the drawing direction of the circle shapes.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_ClippingRegion" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.ClippingRegion">
          <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.ClippingRegion.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_ClippingRegion">ClippingRegion</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the handle of the current clipping region of the device context.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_ForegroundColor" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.ForegroundColor">
          <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.ForegroundColor.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_ForegroundColor">ForegroundColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the color of the foreground of the device context.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_GraphicsMode" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.GraphicsMode">
          <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.GraphicsMode.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_GraphicsMode">GraphicsMode</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.GraphicsMode.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_GraphicsMode">GraphicsMode</a> indicating whether use the world transform in this DC.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_Handle" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.Handle">
          <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.Handle.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_Handle">Handle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or [protected] sets the handle of the device context.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_MappingMode" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.MappingMode">
          <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.MappingMode.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_MappingMode">MappingMode</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the mapping mode of the device context.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_PixelsPerInchX" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.PixelsPerInchX">
          <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.PixelsPerInchX.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_PixelsPerInchX">PixelsPerInchX</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the number of pixels per logical inch along the screen width.
In a system with multiple display monitors, this value is the same for all monitors.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_PixelsPerInchY" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.PixelsPerInchY">
          <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.PixelsPerInchY.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_PixelsPerInchY">PixelsPerInchY</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the number of pixels per logical inch along the screen height.
In a system with multiple display monitors, this value is the same for all monitors.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_RasterOperationCode" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.RasterOperationCode">
          <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.RasterOperationCode.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_RasterOperationCode">RasterOperationCode</a>
        </td>
        <td class="markdown level1 summary"><p>Get or set the current foreground mix mode.GDI uses the foreground mix mode to combine pens and interiors of filled
objects with the colors already on the screen. The foreground mix mode defines how colors from the brush or pen
and the colors in the existing image are to be combined.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_TextAlign" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.TextAlign">
          <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.TextAlign.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_TextAlign">TextAlign</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the text-alignment flags for this device context.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_TextCharacterExtra" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.TextCharacterExtra">
          <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.TextCharacterExtra.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_TextCharacterExtra">TextCharacterExtra</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the current intercharacter spacing for the device context.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_ViewportExtent" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.ViewportExtent">
          <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.ViewportExtent.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_ViewportExtent">ViewportExtent</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the x-extent and y-extent of the current viewport for the device context.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_ViewportOrigin" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.ViewportOrigin">
          <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.ViewportOrigin.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_ViewportOrigin">ViewportOrigin</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the x-coordinates and y-coordinates of the viewport origin for the device context</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_WindowExtent" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.WindowExtent">
          <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.WindowExtent.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_WindowExtent">WindowExtent</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the x-extent and y-extent of the current window for the device context.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_WindowOrigin" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.WindowOrigin">
          <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.WindowOrigin.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_WindowOrigin">WindowOrigin</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the x-coordinates and y-coordinates of the window origin for the device context</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_WorldTransform" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.WorldTransform">
          <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.WorldTransform.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_WorldTransform">WorldTransform</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the world transform.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_AlphaBlend_C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_System_Drawing_Rectangle_System_Drawing_Rectangle_" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.AlphaBlend(C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext,System.Drawing.Rectangle,System.Drawing.Rectangle)">
          <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.AlphaBlend.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_AlphaBlend_C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_System_Drawing_Rectangle_System_Drawing_Rectangle_">AlphaBlend(DeviceContext, Rectangle, Rectangle)</a>
        </td>
        <td class="markdown level1 summary"><p>Displays bitmaps that have transparent or semitransparent pixels.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_AlphaBlend_C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_System_Drawing_Rectangle_System_Drawing_Rectangle_System_Byte_" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.AlphaBlend(C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext,System.Drawing.Rectangle,System.Drawing.Rectangle,System.Byte)">
          <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.AlphaBlend.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_AlphaBlend_C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_System_Drawing_Rectangle_System_Drawing_Rectangle_System_Byte_">AlphaBlend(DeviceContext, Rectangle, Rectangle, byte)</a>
        </td>
        <td class="markdown level1 summary"><p>Displays bitmaps with a constant transparent value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_Clip_System_Drawing_Rectangle_System_Drawing_Drawing2D_CombineMode_" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.Clip(System.Drawing.Rectangle,System.Drawing.Drawing2D.CombineMode)">
          <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.Clip.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_Clip_System_Drawing_Rectangle_System_Drawing_Drawing2D_CombineMode_">Clip(Rectangle, CombineMode)</a>
        </td>
        <td class="markdown level1 summary"><p>Clips the device context by the specified rectangle and operation mode.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_Copy_C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_System_Drawing_Rectangle_System_Drawing_Point_C1_Framework_Drawing_Gdi_DeviceContexts_RasterOperationCode_" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.Copy(C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext,System.Drawing.Rectangle,System.Drawing.Point,C1.Framework.Drawing.Gdi.DeviceContexts.RasterOperationCode)">
          <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.Copy.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_Copy_C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_System_Drawing_Rectangle_System_Drawing_Point_C1_Framework_Drawing_Gdi_DeviceContexts_RasterOperationCode_">Copy(DeviceContext, Rectangle, Point, RasterOperationCode)</a>
        </td>
        <td class="markdown level1 summary"><p>Performs a bit-block transfer of the color data corresponding to a rectangle of pixels from
the specified source <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.html">DeviceContext</a> object into a destination <b>DeviceContext</b> object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_Copy_C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_System_Drawing_Rectangle_System_Drawing_Rectangle_C1_Framework_Drawing_Gdi_DeviceContexts_RasterOperationCode_" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.Copy(C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext,System.Drawing.Rectangle,System.Drawing.Rectangle,C1.Framework.Drawing.Gdi.DeviceContexts.RasterOperationCode)">
          <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.Copy.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_Copy_C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_System_Drawing_Rectangle_System_Drawing_Rectangle_C1_Framework_Drawing_Gdi_DeviceContexts_RasterOperationCode_">Copy(DeviceContext, Rectangle, Rectangle, RasterOperationCode)</a>
        </td>
        <td class="markdown level1 summary"><p>Performs a bit-block transfer of the color data corresponding to a rectangle of pixels from
the specified source <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.html">DeviceContext</a> object into a destination <b>DeviceContext</b> object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_DeleteObject_System_IntPtr_" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.DeleteObject(System.IntPtr)">
          <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.DeleteObject.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_DeleteObject_System_IntPtr_">DeleteObject(IntPtr)</a>
        </td>
        <td class="markdown level1 summary"><p>Deletes a logical pen, brush, font, bitmap, region, or palette, freeing all system resources associated with the object.
After the object is deleted, the specified handle is no longer valid.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_Dispose" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.Dispose">
          <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.Dispose.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_Dispose">Dispose()</a>
        </td>
        <td class="markdown level1 summary"><p>Releases all resources used by this <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.html">DeviceContext</a> object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_Dispose_System_Boolean_" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.Dispose(System.Boolean)">
          <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.Dispose.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Releases the unmanaged resources used by the <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.html">DeviceContext</a>
and optionally releases the managed resources.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_DrawArc_System_Drawing_Point_System_UInt32_System_Single_System_Single_" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.DrawArc(System.Drawing.Point,System.UInt32,System.Single,System.Single)">
          <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>
        </td>
        <td class="markdown level1 summary"><p>Draws a line segment and an arc.
The line segment is drawn from the position which is defined by <code>radius</code> and <code>startAngle</code>.
The arc is drawn along the perimeter of a circle with the given radius and center.
The length of the arc is defined by the given start and sweep angles.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_DrawArc_System_Drawing_Rectangle_System_Drawing_Point_System_Drawing_Point_" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.DrawArc(System.Drawing.Rectangle,System.Drawing.Point,System.Drawing.Point)">
          <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>
        </td>
        <td class="markdown level1 summary"><p>Draws an elliptical arc.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_DrawLine_System_Drawing_Point_System_Drawing_Point_" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.DrawLine(System.Drawing.Point,System.Drawing.Point)">
          <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.DrawLine.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_DrawLine_System_Drawing_Point_System_Drawing_Point_">DrawLine(Point, Point)</a>
        </td>
        <td class="markdown level1 summary"><p>Draws the special line by using the current pen of the device context.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_DrawPolyBezier_System_Drawing_Point___" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.DrawPolyBezier(System.Drawing.Point[])">
          <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.DrawPolyBezier.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_DrawPolyBezier_System_Drawing_Point___">DrawPolyBezier(Point[])</a>
        </td>
        <td class="markdown level1 summary"><p>Draws one or more Bezier curves.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_DrawPolyLine_System_Drawing_Point___" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.DrawPolyLine(System.Drawing.Point[])">
          <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.DrawPolyLine.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_DrawPolyLine_System_Drawing_Point___">DrawPolyLine(Point[])</a>
        </td>
        <td class="markdown level1 summary"><p>Draws a series of line segments by connecting the points in the specified array.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_DrawText_System_String_System_Drawing_Rectangle_C1_Framework_Drawing_Gdi_DeviceContexts_TextFormat_" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.DrawText(System.String,System.Drawing.Rectangle,C1.Framework.Drawing.Gdi.DeviceContexts.TextFormat)">
          <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.DrawText.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_DrawText_System_String_System_Drawing_Rectangle_C1_Framework_Drawing_Gdi_DeviceContexts_TextFormat_">DrawText(string, Rectangle, TextFormat)</a>
        </td>
        <td class="markdown level1 summary"><p>Draws formatted text in the specified rectangle.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_FillRectangle_System_Drawing_Color_System_Drawing_Color_System_Drawing_Rectangle_System_Boolean_" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.FillRectangle(System.Drawing.Color,System.Drawing.Color,System.Drawing.Rectangle,System.Boolean)">
          <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.FillRectangle.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_FillRectangle_System_Drawing_Color_System_Drawing_Color_System_Drawing_Rectangle_System_Boolean_">FillRectangle(Color, Color, Rectangle, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Gradient fills the rectangle with colors.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_FillRectangle_System_Drawing_Rectangle_C1_Framework_Drawing_Gdi_DeviceContexts_RasterOperationCode_" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.FillRectangle(System.Drawing.Rectangle,C1.Framework.Drawing.Gdi.DeviceContexts.RasterOperationCode)">
          <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.FillRectangle.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_FillRectangle_System_Drawing_Rectangle_C1_Framework_Drawing_Gdi_DeviceContexts_RasterOperationCode_">FillRectangle(Rectangle, RasterOperationCode)</a>
        </td>
        <td class="markdown level1 summary"><p>Fills the specified rectangle by using the current brush of device context.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_FillRectangle_System_IntPtr_System_Drawing_Rectangle_" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.FillRectangle(System.IntPtr,System.Drawing.Rectangle)">
          <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.FillRectangle.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_FillRectangle_System_IntPtr_System_Drawing_Rectangle_">FillRectangle(IntPtr, Rectangle)</a>
        </td>
        <td class="markdown level1 summary"><p>Fills the specified rectangle by using the specified brush.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_FillRegion_System_IntPtr_System_IntPtr_" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.FillRegion(System.IntPtr,System.IntPtr)">
          <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.FillRegion.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_FillRegion_System_IntPtr_System_IntPtr_">FillRegion(IntPtr, IntPtr)</a>
        </td>
        <td class="markdown level1 summary"><p>Fills the region by the specified brush.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_FillRegionFrame_System_IntPtr_System_IntPtr_System_Drawing_Size_" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.FillRegionFrame(System.IntPtr,System.IntPtr,System.Drawing.Size)">
          <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.FillRegionFrame.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_FillRegionFrame_System_IntPtr_System_IntPtr_System_Drawing_Size_">FillRegionFrame(IntPtr, IntPtr, Size)</a>
        </td>
        <td class="markdown level1 summary"><p>Draws a border around the specified region by using the specified brush.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_FillTriangle_System_Drawing_Color_System_Drawing_Color_System_Drawing_Color_System_Drawing_Point_System_Drawing_Point_System_Drawing_Point_" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.FillTriangle(System.Drawing.Color,System.Drawing.Color,System.Drawing.Color,System.Drawing.Point,System.Drawing.Point,System.Drawing.Point)">
          <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.FillTriangle.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_FillTriangle_System_Drawing_Color_System_Drawing_Color_System_Drawing_Color_System_Drawing_Point_System_Drawing_Point_System_Drawing_Point_">FillTriangle(Color, Color, Color, Point, Point, Point)</a>
        </td>
        <td class="markdown level1 summary"><p>Gradient fills the triangle with specified colors.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_Finalize" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.Finalize">
          <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.Finalize.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_Finalize">~DeviceContext()</a>
        </td>
        <td class="markdown level1 summary"><p>Deletes this <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.html">DeviceContext</a>, and frees the memory allocated for it.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_GetCircleDirection" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.GetCircleDirection">
          <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.GetCircleDirection.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_GetCircleDirection">GetCircleDirection()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the drawing direction of the circle shapes.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_GetClippingBox" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.GetClippingBox">
          <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.GetClippingBox.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_GetClippingBox">GetClippingBox()</a>
        </td>
        <td class="markdown level1 summary"><p>Retrieves the dimensions of the tightest bounding rectangle that can be drawn around the current
visible area on the device. The visible area is defined by the current clipping region or clip
path, as well as any overlapping windows.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_GetPixel_System_Drawing_Point_" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.GetPixel(System.Drawing.Point)">
          <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.GetPixel.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_GetPixel_System_Drawing_Point_">GetPixel(Point)</a>
        </td>
        <td class="markdown level1 summary"><p>retrieves the red, green, blue (RGB) color value of the pixel at the specified coordinates.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_GetRasterOperationCode" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.GetRasterOperationCode">
          <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.GetRasterOperationCode.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_GetRasterOperationCode">GetRasterOperationCode()</a>
        </td>
        <td class="markdown level1 summary"><p>retrieves the foreground mix mode of the specified device context. The mix mode specifies how the pen or interior
color and the color already on the screen are combined to yield a new color.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_InvertRectangle_System_Drawing_Rectangle_" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.InvertRectangle(System.Drawing.Rectangle)">
          <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.InvertRectangle.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_InvertRectangle_System_Drawing_Rectangle_">InvertRectangle(Rectangle)</a>
        </td>
        <td class="markdown level1 summary"><p>Inverts a rectangle in a window by performing a logical NOT operation on the color values for each pixel
in the rectangle's interior.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_InvertRegion_System_IntPtr_" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.InvertRegion(System.IntPtr)">
          <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.InvertRegion.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_InvertRegion_System_IntPtr_">InvertRegion(IntPtr)</a>
        </td>
        <td class="markdown level1 summary"><p>Inverts the colors in the specified region.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_MeasureText_System_String_System_Drawing_Size_C1_Framework_Drawing_Gdi_DeviceContexts_TextFormat_" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.MeasureText(System.String,System.Drawing.Size,C1.Framework.Drawing.Gdi.DeviceContexts.TextFormat)">
          <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.MeasureText.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_MeasureText_System_String_System_Drawing_Size_C1_Framework_Drawing_Gdi_DeviceContexts_TextFormat_">MeasureText(string, Size, TextFormat)</a>
        </td>
        <td class="markdown level1 summary"><p>Draws formatted text in the specified rectangle.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_PaintChord_System_Drawing_Rectangle_System_Drawing_Point_System_Drawing_Point_" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.PaintChord(System.Drawing.Rectangle,System.Drawing.Point,System.Drawing.Point)">
          <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>
        </td>
        <td class="markdown level1 summary"><p>Paints a chord (a region bounded by the intersection of an ellipse and a line segment, called a secant).
The chord is outlined by using the current pen and filled by using the current brush.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_PaintEllipse_System_Drawing_Rectangle_" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.PaintEllipse(System.Drawing.Rectangle)">
          <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>
        </td>
        <td class="markdown level1 summary"><p>Paints an ellipse.
The center of the ellipse is the center of the specified bounding rectangle.
The ellipse is outlined by using the current pen and is filled by using the current brush.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_PaintPie_System_Drawing_Rectangle_System_Drawing_Point_System_Drawing_Point_" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.PaintPie(System.Drawing.Rectangle,System.Drawing.Point,System.Drawing.Point)">
          <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>
        </td>
        <td class="markdown level1 summary"><p>Paints a pie-shaped wedge bounded by the intersection of an ellipse and two radials.
The pie is outlined by using the current pen and filled by using the current brush.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_PaintPolygon_System_Drawing_Point___" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.PaintPolygon(System.Drawing.Point[])">
          <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.PaintPolygon.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_PaintPolygon_System_Drawing_Point___">PaintPolygon(Point[])</a>
        </td>
        <td class="markdown level1 summary"><p>Paints a polygon consisting of two or more vertices connected by straight lines.
The polygon is outlined by using the current pen and filled by using the current brush and polygon fill mode.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_PaintRectangle_System_Drawing_Rectangle_" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.PaintRectangle(System.Drawing.Rectangle)">
          <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>
        </td>
        <td class="markdown level1 summary"><p>Draw the special rectangle by using the current pen of the device context and fill the rectangle by using
the current brush of the device context.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_PaintRoundRectangle_System_Drawing_Rectangle_System_Int32_System_Int32_" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.PaintRoundRectangle(System.Drawing.Rectangle,System.Int32,System.Int32)">
          <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>
        </td>
        <td class="markdown level1 summary"><p>Paints a rectangle with rounded corners. The rectangle is outlined by using the current pen and filled by using
the current brush.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_PointDeviceToLogical_System_Drawing_Point___" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.PointDeviceToLogical(System.Drawing.Point[])">
          <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.PointDeviceToLogical.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_PointDeviceToLogical_System_Drawing_Point___">PointDeviceToLogical(Point[])</a>
        </td>
        <td class="markdown level1 summary"><p>converts device coordinates into logical coordinates. The conversion depends on the mapping mode of the device
context, the settings of the origins and extents for the window and viewport, and the world transformation.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_PointLogicalToDevice_System_Drawing_Point___" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.PointLogicalToDevice(System.Drawing.Point[])">
          <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.PointLogicalToDevice.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_PointLogicalToDevice_System_Drawing_Point___">PointLogicalToDevice(Point[])</a>
        </td>
        <td class="markdown level1 summary"><p>converts logical coordinates into device coordinates. The conversion depends on the mapping mode of the device
context, the settings of the origins and extents for the window and viewport, and the world transformation.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_Restore_C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContextState_" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.Restore(C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContextState)">
          <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.Restore.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_Restore_C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContextState_">Restore(DeviceContextState)</a>
        </td>
        <td class="markdown level1 summary"><p>Restores the state of this <a class="xref" href="C1.Framework.Drawing.Gdi.Graphics.html">Graphics</a> object to the
state represented by a handle.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_Save" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.Save">
          <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.Save.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_Save">Save()</a>
        </td>
        <td class="markdown level1 summary"><p>Saves the current state of this <a class="xref" href="C1.Framework.Drawing.Gdi.Graphics.html">Graphics</a> object and
identifies the saved state with a handle.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_ScaleViewport_System_Int32_System_Int32_System_Int32_System_Int32_" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.ScaleViewport(System.Int32,System.Int32,System.Int32,System.Int32)">
          <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.ScaleViewport.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_ScaleViewport_System_Int32_System_Int32_System_Int32_System_Int32_">ScaleViewport(int, int, int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Modifies the viewport for a device context using the ratios formed by the specified multiplicands and divisors.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_ScaleWindow_System_Int32_System_Int32_System_Int32_System_Int32_" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.ScaleWindow(System.Int32,System.Int32,System.Int32,System.Int32)">
          <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.ScaleWindow.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_ScaleWindow_System_Int32_System_Int32_System_Int32_System_Int32_">ScaleWindow(int, int, int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Modifies the window for a device context using the ratios formed by the specified multiplicands and divisors.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_SelectObject_System_IntPtr_" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.SelectObject(System.IntPtr)">
          <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.SelectObject.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_SelectObject_System_IntPtr_">SelectObject(IntPtr)</a>
        </td>
        <td class="markdown level1 summary"><p>Selects an object into the specified device context(DC). The new object replaces the previous
object of the same type.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_SetBackgroundColor_System_Drawing_Color_" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.SetBackgroundColor(System.Drawing.Color)">
          <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.SetBackgroundColor.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_SetBackgroundColor_System_Drawing_Color_">SetBackgroundColor(Color)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the color of the background of the device context.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_SetBackgroundMode_C1_Framework_Drawing_Gdi_DeviceContexts_BackgroundMode_" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.SetBackgroundMode(C1.Framework.Drawing.Gdi.DeviceContexts.BackgroundMode)">
          <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.SetBackgroundMode.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_SetBackgroundMode_C1_Framework_Drawing_Gdi_DeviceContexts_BackgroundMode_">SetBackgroundMode(BackgroundMode)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the background mode of the device context.</p>
</td>
      </tr>
      <tr>
        <td 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)">
          <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.SetCircumDirection.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_SetCircumDirection_C1_Framework_Drawing_Gdi_DeviceContexts_CircumDirection_">SetCircumDirection(CircumDirection)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the drawing direction of the circle shapes.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_SetClippingRegion_System_IntPtr_System_Drawing_Drawing2D_CombineMode_" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.SetClippingRegion(System.IntPtr,System.Drawing.Drawing2D.CombineMode)">
          <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.SetClippingRegion.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_SetClippingRegion_System_IntPtr_System_Drawing_Drawing2D_CombineMode_">SetClippingRegion(IntPtr, CombineMode)</a>
        </td>
        <td class="markdown level1 summary"><p>Combines the specified region with the current clipping region using the specified mode.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_SetForegroundColor_System_Drawing_Color_" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.SetForegroundColor(System.Drawing.Color)">
          <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.SetForegroundColor.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_SetForegroundColor_System_Drawing_Color_">SetForegroundColor(Color)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the color of the foreground of the device context.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_SetPixel_System_Drawing_Color_System_Drawing_Point_" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.SetPixel(System.Drawing.Color,System.Drawing.Point)">
          <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.SetPixel.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_SetPixel_System_Drawing_Color_System_Drawing_Point_">SetPixel(Color, Point)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the pixel at the specified coordinates to the closest approximation of the specified color.
The point must be in the clipping region and the visible part of the device surface.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_SetRasterOperationCode_C1_Framework_Drawing_Gdi_DeviceContexts_RasterOperationCode_" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.SetRasterOperationCode(C1.Framework.Drawing.Gdi.DeviceContexts.RasterOperationCode)">
          <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.SetRasterOperationCode.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_SetRasterOperationCode_C1_Framework_Drawing_Gdi_DeviceContexts_RasterOperationCode_">SetRasterOperationCode(RasterOperationCode)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the current foreground mix mode. GDI uses the foreground mix mode to combine pens and interiors of filled
objects with the colors already on the screen. The foreground mix mode defines how colors from the brush or pen
and the colors in the existing image are to be combined.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_SetTextAlign_C1_Framework_Drawing_Gdi_DeviceContexts_TextAlignment_" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.SetTextAlign(C1.Framework.Drawing.Gdi.DeviceContexts.TextAlignment)">
          <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.SetTextAlign.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_SetTextAlign_C1_Framework_Drawing_Gdi_DeviceContexts_TextAlignment_">SetTextAlign(TextAlignment)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the text-alignment flags for this device context.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_SetTextCharacterExtra_System_Int32_" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.SetTextCharacterExtra(System.Int32)">
          <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.SetTextCharacterExtra.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_SetTextCharacterExtra_System_Int32_">SetTextCharacterExtra(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the current intercharacter spacing for the device context.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_SetTextJustification_System_Int32_System_Int32_" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.SetTextJustification(System.Int32,System.Int32)">
          <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.SetTextJustification.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_SetTextJustification_System_Int32_System_Int32_">SetTextJustification(int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies the amount of space the system should add to the break characters in a string of text.
The space is added when an application calls the TextOut method.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_TabbedTextExtent_System_String_System_Int32___System_Drawing_Size__" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.TabbedTextExtent(System.String,System.Int32[],System.Drawing.Size@)">
          <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.TabbedTextExtent.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_TabbedTextExtent_System_String_System_Int32___System_Drawing_Size__">TabbedTextExtent(string, int[], out Size)</a>
        </td>
        <td class="markdown level1 summary"><p>The TabbedTextExtent method computes the width and height of a character string.If the string contains
one or more tab characters, the width of the string is based upon the specified tab stops.
The TabbedTextExtent method uses the currently selected font to compute the dimensions of the string.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_TabbedTextOut_System_String_System_Drawing_Point_System_Int32___System_Int32_" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.TabbedTextOut(System.String,System.Drawing.Point,System.Int32[],System.Int32)">
          <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.TabbedTextOut.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_TabbedTextOut_System_String_System_Drawing_Point_System_Int32___System_Int32_">TabbedTextOut(string, Point, int[], int)</a>
        </td>
        <td class="markdown level1 summary"><p>Writes a character string at a specified location, expanding tabs to the values specified in an array of
tab-stop positions. Text is written in the currently selected font, background color, and text color.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_TextExtent_System_String_" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.TextExtent(System.String)">
          <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.TextExtent.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_TextExtent_System_String_">TextExtent(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Computes the width and height of the specified string of text.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_TextExtentEx_System_String_System_Int32_System_Int32__System_Int32___" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.TextExtentEx(System.String,System.Int32,System.Int32@,System.Int32[])">
          <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.TextExtentEx.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_TextExtentEx_System_String_System_Int32_System_Int32__System_Int32___">TextExtentEx(string, int, out int, int[])</a>
        </td>
        <td class="markdown level1 summary"><p>Retrieves the number of characters in a specified string that will fit within a specified space and
fills an array with the text extent for each of those characters.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_TextOut_System_String_System_Drawing_Point_" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.TextOut(System.String,System.Drawing.Point)">
          <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.TextOut.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_TextOut_System_String_System_Drawing_Point_">TextOut(string, Point)</a>
        </td>
        <td class="markdown level1 summary"><p>Writes a character string at the specified location, using the currently selected
font, background color, and text color.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_TranslateClippingRegion_System_Int32_System_Int32_" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.TranslateClippingRegion(System.Int32,System.Int32)">
          <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.TranslateClippingRegion.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_TranslateClippingRegion_System_Int32_System_Int32_">TranslateClippingRegion(int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Moves the clipping region of a device context by the specified offsets.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_TranslateViewport_System_Int32_System_Int32_" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.TranslateViewport(System.Int32,System.Int32)">
          <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.TranslateViewport.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_TranslateViewport_System_Int32_System_Int32_">TranslateViewport(int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Modifies the viewport origin for a device context using the specified horizontal and vertical offsets.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_TranslateWindow_System_Int32_System_Int32_" data-uid="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.TranslateWindow(System.Int32,System.Int32)">
          <a class="xref" href="C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.TranslateWindow.html#C1_Framework_Drawing_Gdi_DeviceContexts_DeviceContext_TranslateWindow_System_Int32_System_Int32_">TranslateWindow(int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Modifies the window origin for a device context using the specified horizontal and vertical offsets.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
