# GrapeCity.Documents.Imaging.Windows.GcWicBitmapGraphics

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Imaging_Windows_GcWicBitmapGraphics" data-uid="GrapeCity.Documents.Imaging.Windows.GcWicBitmapGraphics" class="text-break">GcWicBitmapGraphics Class
</h1>
  <div class="markdown level0 summary"><p>Implements a Direct2D drawing surface.</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="../DS.Documents.Imaging/GrapeCity.Documents.Drawing.GcGraphics.html">GcGraphics</a></div>
    <div class="level2"><a class="xref" href="GrapeCity.Documents.Imaging.Windows.GcDXGraphics.html">GcDXGraphics</a></div>
    <div class="level3"><span class="xref">GcWicBitmapGraphics</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <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="GrapeCity.Documents.Imaging.Windows.html">GrapeCity.Documents.Imaging.Windows</a></h6>
  <h6><strong>Assembly</strong>: DS.Documents.Imaging.Windows.dll</h6>
  <h5 id="GrapeCity_Documents_Imaging_Windows_GcWicBitmapGraphics_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class GcWicBitmapGraphics : GcDXGraphics, IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class GcWicBitmapGraphics
    Inherits GcDXGraphics
    Implements IDisposable</code></pre>
  </div>
  <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="GrapeCity_Documents_Imaging_Windows_GcWicBitmapGraphics_Height" data-uid="GrapeCity.Documents.Imaging.Windows.GcWicBitmapGraphics.Height">
          <a class="xref" href="GrapeCity.Documents.Imaging.Windows.GcWicBitmapGraphics.Height.html#GrapeCity_Documents_Imaging_Windows_GcWicBitmapGraphics_Height">Height</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the height of the image, in DIPs.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_Windows_GcWicBitmapGraphics_SurfaceResolution" data-uid="GrapeCity.Documents.Imaging.Windows.GcWicBitmapGraphics.SurfaceResolution">
          <a class="xref" href="GrapeCity.Documents.Imaging.Windows.GcWicBitmapGraphics.SurfaceResolution.html#GrapeCity_Documents_Imaging_Windows_GcWicBitmapGraphics_SurfaceResolution">SurfaceResolution</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the resolution of the underlying drawing surface (pixels per inch).</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_Windows_GcWicBitmapGraphics_WicBitmap" data-uid="GrapeCity.Documents.Imaging.Windows.GcWicBitmapGraphics.WicBitmap">
          <a class="xref" href="GrapeCity.Documents.Imaging.Windows.GcWicBitmapGraphics.WicBitmap.html#GrapeCity_Documents_Imaging_Windows_GcWicBitmapGraphics_WicBitmap">WicBitmap</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the source <a class="xref" href="GrapeCity.Documents.Imaging.Windows.GcWicBitmap.html">GcWicBitmap</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_Windows_GcWicBitmapGraphics_Width" data-uid="GrapeCity.Documents.Imaging.Windows.GcWicBitmapGraphics.Width">
          <a class="xref" href="GrapeCity.Documents.Imaging.Windows.GcWicBitmapGraphics.Width.html#GrapeCity_Documents_Imaging_Windows_GcWicBitmapGraphics_Width">Width</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the width of the image, in DIPs.</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="GrapeCity_Documents_Imaging_Windows_GcWicBitmapGraphics_CreateHatchBrush_GrapeCity_Documents_Drawing_HatchBrush_" data-uid="GrapeCity.Documents.Imaging.Windows.GcWicBitmapGraphics.CreateHatchBrush(GrapeCity.Documents.Drawing.HatchBrush)">
          <a class="xref" href="GrapeCity.Documents.Imaging.Windows.GcWicBitmapGraphics.CreateHatchBrush.html#GrapeCity_Documents_Imaging_Windows_GcWicBitmapGraphics_CreateHatchBrush_GrapeCity_Documents_Drawing_HatchBrush_">CreateHatchBrush(HatchBrush)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a <span class="xref">GrapeCity.Documents.DX.Direct2D.BitmapBrush</span> from a <a class="xref" href="../DS.Documents.Imaging/GrapeCity.Documents.Drawing.HatchBrush.html">HatchBrush</a>,
can be overridden in derived class.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_Windows_GcWicBitmapGraphics_Dispose_System_Boolean_" data-uid="GrapeCity.Documents.Imaging.Windows.GcWicBitmapGraphics.Dispose(System.Boolean)">
          <a class="xref" href="GrapeCity.Documents.Imaging.Windows.GcWicBitmapGraphics.Dispose.html#GrapeCity_Documents_Imaging_Windows_GcWicBitmapGraphics_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Performs cleanup operations on managed and unmanaged resources.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_Windows_GcWicBitmapGraphics_PopTransparencyLayer" data-uid="GrapeCity.Documents.Imaging.Windows.GcWicBitmapGraphics.PopTransparencyLayer">
          <a class="xref" href="GrapeCity.Documents.Imaging.Windows.GcWicBitmapGraphics.PopTransparencyLayer.html#GrapeCity_Documents_Imaging_Windows_GcWicBitmapGraphics_PopTransparencyLayer">PopTransparencyLayer()</a>
        </td>
        <td class="markdown level1 summary"><p>Stops redirecting drawing operations to the transparency layer that was created by the last
<a class="xref" href="GrapeCity.Documents.Imaging.Windows.GcWicBitmapGraphics.PushTransparencyLayer.html#GrapeCity_Documents_Imaging_Windows_GcWicBitmapGraphics_PushTransparencyLayer_System_Nullable_System_Drawing_RectangleF__System_Single_">PushTransparencyLayer(RectangleF?, float)</a> call.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_Windows_GcWicBitmapGraphics_PushTransparencyLayer_System_Nullable_System_Drawing_RectangleF__System_Single_" data-uid="GrapeCity.Documents.Imaging.Windows.GcWicBitmapGraphics.PushTransparencyLayer(System.Nullable{System.Drawing.RectangleF},System.Single)">
          <a class="xref" href="GrapeCity.Documents.Imaging.Windows.GcWicBitmapGraphics.PushTransparencyLayer.html#GrapeCity_Documents_Imaging_Windows_GcWicBitmapGraphics_PushTransparencyLayer_System_Nullable_System_Drawing_RectangleF__System_Single_">PushTransparencyLayer(RectangleF?, float)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a transparency layer to the <a class="xref" href="GrapeCity.Documents.Imaging.Windows.GcWicBitmapGraphics.html">GcWicBitmapGraphics</a> so that it receives all subsequent drawing
operations until <a class="xref" href="GrapeCity.Documents.Imaging.Windows.GcWicBitmapGraphics.PopTransparencyLayer.html#GrapeCity_Documents_Imaging_Windows_GcWicBitmapGraphics_PopTransparencyLayer">PopTransparencyLayer()</a> is called.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
