# C1.Win.Document.Util.C1GcGraphics

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Document_Util_C1GcGraphics" data-uid="C1.Win.Document.Util.C1GcGraphics" class="text-break">C1GcGraphics Class
</h1>
  <div class="markdown level0 summary"><p>The <a class="xref" href="C1.Win.Document.Util.C1GcGraphics.html">C1GcGraphics</a> used in exporters.</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"><span class="xref">C1Graphics</span></div>
    <div class="level2"><a class="xref" href="C1.Win.Document.Util.C1DXExportGraphics.html">C1DXExportGraphics</a></div>
    <div class="level3"><span class="xref">C1GcGraphics</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><a class="xref" href="C1.Win.Document.Util.IC1DXTextLayoutOwner.html">IC1DXTextLayoutOwner</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.Document.Util.html">C1.Win.Document.Util</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.Document.10.dll</h6>
  <h5 id="C1_Win_Document_Util_C1GcGraphics_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class C1GcGraphics : C1DXExportGraphics, IDisposable, IC1DXTextLayoutOwner</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class C1GcGraphics
    Inherits C1DXExportGraphics
    Implements IDisposable, IC1DXTextLayoutOwner</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="C1_Win_Document_Util_C1GcGraphics_NativeGraphics" data-uid="C1.Win.Document.Util.C1GcGraphics.NativeGraphics">
          <a class="xref" href="C1.Win.Document.Util.C1GcGraphics.NativeGraphics.html#C1_Win_Document_Util_C1GcGraphics_NativeGraphics">NativeGraphics</a>
        </td>
        <td class="markdown level1 summary"><p><span class="xref">GrapeCity.Documents.Drawing.GcGraphics</span> instance.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Document_Util_C1GcGraphics_Transform" data-uid="C1.Win.Document.Util.C1GcGraphics.Transform">
          <a class="xref" href="C1.Win.Document.Util.C1GcGraphics.Transform.html#C1_Win_Document_Util_C1GcGraphics_Transform">Transform</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets transformation matrix.</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_Win_Document_Util_C1GcGraphics_BeginTransform" data-uid="C1.Win.Document.Util.C1GcGraphics.BeginTransform">
          <a class="xref" href="C1.Win.Document.Util.C1GcGraphics.BeginTransform.html#C1_Win_Document_Util_C1GcGraphics_BeginTransform">BeginTransform()</a>
        </td>
        <td class="markdown level1 summary"><p>For internal use only.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Document_Util_C1GcGraphics_CreateClipRegion_C1_Document_Util_IPath_" data-uid="C1.Win.Document.Util.C1GcGraphics.CreateClipRegion(C1.Document.Util.IPath)">
          <a class="xref" href="C1.Win.Document.Util.C1GcGraphics.CreateClipRegion.html#C1_Win_Document_Util_C1GcGraphics_CreateClipRegion_C1_Document_Util_IPath_">CreateClipRegion(IPath)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates clip region for specified graphics path.
Note! The clip region should NOT dispose passed graphics path, it is managed by the outer code.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Document_Util_C1GcGraphics_CreateClipRegion_C1_Interop_Rect_" data-uid="C1.Win.Document.Util.C1GcGraphics.CreateClipRegion(C1.Interop.Rect)">
          <a class="xref" href="C1.Win.Document.Util.C1GcGraphics.CreateClipRegion.html#C1_Win_Document_Util_C1GcGraphics_CreateClipRegion_C1_Interop_Rect_">CreateClipRegion(Rect)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates clip region for specified bounds.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Document_Util_C1GcGraphics_CreatePath" data-uid="C1.Win.Document.Util.C1GcGraphics.CreatePath">
          <a class="xref" href="C1.Win.Document.Util.C1GcGraphics.CreatePath.html#C1_Win_Document_Util_C1GcGraphics_CreatePath">CreatePath()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates graphics path.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Document_Util_C1GcGraphics_Dispose_System_Boolean_" data-uid="C1.Win.Document.Util.C1GcGraphics.Dispose(System.Boolean)">
          <a class="xref" href="C1.Win.Document.Util.C1GcGraphics.Dispose.html#C1_Win_Document_Util_C1GcGraphics_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Document_Util_C1GcGraphics_DrawGlyphRun_System_Double_System_Double_System_Int32_System_IntPtr_System_IntPtr_System_IntPtr_System_IntPtr_System_Drawing_Color_C1_Document_Util_IC1TextRangeBase_C1_Document_Util_C1TextLayout_System_String_" data-uid="C1.Win.Document.Util.C1GcGraphics.DrawGlyphRun(System.Double,System.Double,System.Int32,System.IntPtr,System.IntPtr,System.IntPtr,System.IntPtr,System.Drawing.Color,C1.Document.Util.IC1TextRangeBase,C1.Document.Util.C1TextLayout,System.String)">
          <a class="xref" href="C1.Win.Document.Util.C1GcGraphics.DrawGlyphRun.html#C1_Win_Document_Util_C1GcGraphics_DrawGlyphRun_System_Double_System_Double_System_Int32_System_IntPtr_System_IntPtr_System_IntPtr_System_IntPtr_System_Drawing_Color_C1_Document_Util_IC1TextRangeBase_C1_Document_Util_C1TextLayout_System_String_">DrawGlyphRun(double, double, int, IntPtr, IntPtr, IntPtr, IntPtr, Color, IC1TextRangeBase, C1TextLayout, string)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Document_Util_C1GcGraphics_DrawGlyphs_C1_Interop_Point_C1_Util_DX_DirectWrite_GlyphRun_C1_Util_DX_DirectWrite_GlyphRunDescription_System_Drawing_Color_C1_Util_DX_DirectWrite_MeasuringMode_System_String_" data-uid="C1.Win.Document.Util.C1GcGraphics.DrawGlyphs(C1.Interop.Point,C1.Util.DX.DirectWrite.GlyphRun,C1.Util.DX.DirectWrite.GlyphRunDescription,System.Drawing.Color,C1.Util.DX.DirectWrite.MeasuringMode,System.String)">
          <a class="xref" href="C1.Win.Document.Util.C1GcGraphics.DrawGlyphs.html#C1_Win_Document_Util_C1GcGraphics_DrawGlyphs_C1_Interop_Point_C1_Util_DX_DirectWrite_GlyphRun_C1_Util_DX_DirectWrite_GlyphRunDescription_System_Drawing_Color_C1_Util_DX_DirectWrite_MeasuringMode_System_String_">DrawGlyphs(Point, GlyphRun, GlyphRunDescription, Color, MeasuringMode, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Exactly draw glyphs run.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Document_Util_C1GcGraphics_EndTransform" data-uid="C1.Win.Document.Util.C1GcGraphics.EndTransform">
          <a class="xref" href="C1.Win.Document.Util.C1GcGraphics.EndTransform.html#C1_Win_Document_Util_C1GcGraphics_EndTransform">EndTransform()</a>
        </td>
        <td class="markdown level1 summary"><p>For internal use only.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Document_Util_C1GcGraphics_FillEllipse_System_Drawing_Color_C1_Interop_Rect_" data-uid="C1.Win.Document.Util.C1GcGraphics.FillEllipse(System.Drawing.Color,C1.Interop.Rect)">
          <a class="xref" href="C1.Win.Document.Util.C1GcGraphics.FillEllipse.html#C1_Win_Document_Util_C1GcGraphics_FillEllipse_System_Drawing_Color_C1_Interop_Rect_">FillEllipse(Color, Rect)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Document_Util_C1GcGraphics_FillPath_System_Drawing_Color_C1_Document_Util_IPath_" data-uid="C1.Win.Document.Util.C1GcGraphics.FillPath(System.Drawing.Color,C1.Document.Util.IPath)">
          <a class="xref" href="C1.Win.Document.Util.C1GcGraphics.FillPath.html#C1_Win_Document_Util_C1GcGraphics_FillPath_System_Drawing_Color_C1_Document_Util_IPath_">FillPath(Color, IPath)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Document_Util_C1GcGraphics_FillRectangle_System_Drawing_Color_C1_Interop_Rect_" data-uid="C1.Win.Document.Util.C1GcGraphics.FillRectangle(System.Drawing.Color,C1.Interop.Rect)">
          <a class="xref" href="C1.Win.Document.Util.C1GcGraphics.FillRectangle.html#C1_Win_Document_Util_C1GcGraphics_FillRectangle_System_Drawing_Color_C1_Interop_Rect_">FillRectangle(Color, Rect)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Document_Util_C1GcGraphics_InternalCreateImage_GrapeCity_Documents_Drawing_IImage_" data-uid="C1.Win.Document.Util.C1GcGraphics.InternalCreateImage(GrapeCity.Documents.Drawing.IImage)">
          <a class="xref" href="C1.Win.Document.Util.C1GcGraphics.InternalCreateImage.html#C1_Win_Document_Util_C1GcGraphics_InternalCreateImage_GrapeCity_Documents_Drawing_IImage_">InternalCreateImage(IImage)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Document_Util_C1GcGraphics_InternalCreateImage_GrapeCity_Documents_Imaging_GcBitmap_" data-uid="C1.Win.Document.Util.C1GcGraphics.InternalCreateImage(GrapeCity.Documents.Imaging.GcBitmap)">
          <a class="xref" href="C1.Win.Document.Util.C1GcGraphics.InternalCreateImage.html#C1_Win_Document_Util_C1GcGraphics_InternalCreateImage_GrapeCity_Documents_Imaging_GcBitmap_">InternalCreateImage(GcBitmap)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Document_Util_C1GcGraphics_InternalDrawEllipse_C1_Interop_Rect_System_Drawing_Color_System_Double_C1_Document_Util_PenStyle_" data-uid="C1.Win.Document.Util.C1GcGraphics.InternalDrawEllipse(C1.Interop.Rect,System.Drawing.Color,System.Double,C1.Document.Util.PenStyle)">
          <a class="xref" href="C1.Win.Document.Util.C1GcGraphics.InternalDrawEllipse.html#C1_Win_Document_Util_C1GcGraphics_InternalDrawEllipse_C1_Interop_Rect_System_Drawing_Color_System_Double_C1_Document_Util_PenStyle_">InternalDrawEllipse(Rect, Color, double, PenStyle)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Document_Util_C1GcGraphics_InternalDrawImage_C1_Document_Util_INativeImage_C1_Interop_Rect_" data-uid="C1.Win.Document.Util.C1GcGraphics.InternalDrawImage(C1.Document.Util.INativeImage,C1.Interop.Rect)">
          <a class="xref" href="C1.Win.Document.Util.C1GcGraphics.InternalDrawImage.html#C1_Win_Document_Util_C1GcGraphics_InternalDrawImage_C1_Document_Util_INativeImage_C1_Interop_Rect_">InternalDrawImage(INativeImage, Rect)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Document_Util_C1GcGraphics_InternalDrawLine_System_Double_System_Double_System_Double_System_Double_System_Drawing_Color_System_Double_C1_Document_Util_PenStyle_" data-uid="C1.Win.Document.Util.C1GcGraphics.InternalDrawLine(System.Double,System.Double,System.Double,System.Double,System.Drawing.Color,System.Double,C1.Document.Util.PenStyle)">
          <a class="xref" href="C1.Win.Document.Util.C1GcGraphics.InternalDrawLine.html#C1_Win_Document_Util_C1GcGraphics_InternalDrawLine_System_Double_System_Double_System_Double_System_Double_System_Drawing_Color_System_Double_C1_Document_Util_PenStyle_">InternalDrawLine(double, double, double, double, Color, double, PenStyle)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Document_Util_C1GcGraphics_InternalDrawPath_C1_Document_Util_IPath_System_Drawing_Color_System_Double_C1_Document_Util_PenStyle_" data-uid="C1.Win.Document.Util.C1GcGraphics.InternalDrawPath(C1.Document.Util.IPath,System.Drawing.Color,System.Double,C1.Document.Util.PenStyle)">
          <a class="xref" href="C1.Win.Document.Util.C1GcGraphics.InternalDrawPath.html#C1_Win_Document_Util_C1GcGraphics_InternalDrawPath_C1_Document_Util_IPath_System_Drawing_Color_System_Double_C1_Document_Util_PenStyle_">InternalDrawPath(IPath, Color, double, PenStyle)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Document_Util_C1GcGraphics_InternalDrawRectangle_C1_Interop_Rect_System_Drawing_Color_System_Double_C1_Document_Util_PenStyle_" data-uid="C1.Win.Document.Util.C1GcGraphics.InternalDrawRectangle(C1.Interop.Rect,System.Drawing.Color,System.Double,C1.Document.Util.PenStyle)">
          <a class="xref" href="C1.Win.Document.Util.C1GcGraphics.InternalDrawRectangle.html#C1_Win_Document_Util_C1GcGraphics_InternalDrawRectangle_C1_Interop_Rect_System_Drawing_Color_System_Double_C1_Document_Util_PenStyle_">InternalDrawRectangle(Rect, Color, double, PenStyle)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Document_Util_C1GcGraphics_InternalFillEllipse_C1_Document_C1Brush_C1_Interop_Rect_" data-uid="C1.Win.Document.Util.C1GcGraphics.InternalFillEllipse(C1.Document.C1Brush,C1.Interop.Rect)">
          <a class="xref" href="C1.Win.Document.Util.C1GcGraphics.InternalFillEllipse.html#C1_Win_Document_Util_C1GcGraphics_InternalFillEllipse_C1_Document_C1Brush_C1_Interop_Rect_">InternalFillEllipse(C1Brush, Rect)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Document_Util_C1GcGraphics_InternalFillPath_C1_Document_C1Brush_C1_Document_Util_IPath_" data-uid="C1.Win.Document.Util.C1GcGraphics.InternalFillPath(C1.Document.C1Brush,C1.Document.Util.IPath)">
          <a class="xref" href="C1.Win.Document.Util.C1GcGraphics.InternalFillPath.html#C1_Win_Document_Util_C1GcGraphics_InternalFillPath_C1_Document_C1Brush_C1_Document_Util_IPath_">InternalFillPath(C1Brush, IPath)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Document_Util_C1GcGraphics_InternalFillRectangle_C1_Document_C1Brush_C1_Interop_Rect_" data-uid="C1.Win.Document.Util.C1GcGraphics.InternalFillRectangle(C1.Document.C1Brush,C1.Interop.Rect)">
          <a class="xref" href="C1.Win.Document.Util.C1GcGraphics.InternalFillRectangle.html#C1_Win_Document_Util_C1GcGraphics_InternalFillRectangle_C1_Document_C1Brush_C1_Interop_Rect_">InternalFillRectangle(C1Brush, Rect)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Document_Util_C1GcGraphics_InternalRemoveClip_C1_Document_Util_IClipRegion_" data-uid="C1.Win.Document.Util.C1GcGraphics.InternalRemoveClip(C1.Document.Util.IClipRegion)">
          <a class="xref" href="C1.Win.Document.Util.C1GcGraphics.InternalRemoveClip.html#C1_Win_Document_Util_C1GcGraphics_InternalRemoveClip_C1_Document_Util_IClipRegion_">InternalRemoveClip(IClipRegion)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Document_Util_C1GcGraphics_InternalSetClip_C1_Document_Util_IClipRegion_" data-uid="C1.Win.Document.Util.C1GcGraphics.InternalSetClip(C1.Document.Util.IClipRegion)">
          <a class="xref" href="C1.Win.Document.Util.C1GcGraphics.InternalSetClip.html#C1_Win_Document_Util_C1GcGraphics_InternalSetClip_C1_Document_Util_IClipRegion_">InternalSetClip(IClipRegion)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Document_Util_C1GcGraphics_PageScale_System_Double_System_Double_" data-uid="C1.Win.Document.Util.C1GcGraphics.PageScale(System.Double,System.Double)">
          <a class="xref" href="C1.Win.Document.Util.C1GcGraphics.PageScale.html#C1_Win_Document_Util_C1GcGraphics_PageScale_System_Double_System_Double_">PageScale(double, double)</a>
        </td>
        <td class="markdown level1 summary"><p>Set page scale for this graphics (for links and bookmarks).</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Document_Util_C1GcGraphics_Reset" data-uid="C1.Win.Document.Util.C1GcGraphics.Reset">
          <a class="xref" href="C1.Win.Document.Util.C1GcGraphics.Reset.html#C1_Win_Document_Util_C1GcGraphics_Reset">Reset()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets state of this <a class="xref" href="C1.Win.Document.Util.C1GcGraphics.html">C1GcGraphics</a> object,
called from exporters when rendering of the document's page is finished.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Document_Util_C1GcGraphics_WriteBookmark_System_String_C1_Interop_Rect_" data-uid="C1.Win.Document.Util.C1GcGraphics.WriteBookmark(System.String,C1.Interop.Rect)">
          <a class="xref" href="C1.Win.Document.Util.C1GcGraphics.WriteBookmark.html#C1_Win_Document_Util_C1GcGraphics_WriteBookmark_System_String_C1_Interop_Rect_">WriteBookmark(string, Rect)</a>
        </td>
        <td class="markdown level1 summary"><p>Used to identify some area on the <span class="xref">C1.Document.Util.C1Graphics</span> this area can be referenced in
<span class="xref">C1.Document.Util.C1Graphics.WriteHyperlink(C1.Document.C1Hyperlink, C1.Interop.Rect)</span> method. Used in &quot;exports&quot; graphics.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Document_Util_C1GcGraphics_WriteHyperlink_C1_Document_C1Hyperlink_C1_Interop_Rect_" data-uid="C1.Win.Document.Util.C1GcGraphics.WriteHyperlink(C1.Document.C1Hyperlink,C1.Interop.Rect)">
          <a class="xref" href="C1.Win.Document.Util.C1GcGraphics.WriteHyperlink.html#C1_Win_Document_Util_C1GcGraphics_WriteHyperlink_C1_Document_C1Hyperlink_C1_Interop_Rect_">WriteHyperlink(C1Hyperlink, Rect)</a>
        </td>
        <td class="markdown level1 summary"><p>Marks some area as clickable <code class="paramref">hyperlink</code> defines the target.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
