# C1.Util.Drawing

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Util_Drawing" data-uid="C1.Util.Drawing" class="text-break">Drawing Class
</h1>
  <div class="markdown level0 summary"><p>The path that suppored IFlowDocument interface.</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">Drawing</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Util.html">C1.Util</a></h6>
  <h6><strong>Assembly</strong>: C1.Pdf.dll</h6>
  <h5 id="C1_Util_Drawing_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static class Drawing</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Module Drawing</code></pre>
  </div>
  <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_Util_Drawing_CloneImage_GrapeCity_Documents_Drawing_Image_" data-uid="C1.Util.Drawing.CloneImage(GrapeCity.Documents.Drawing.Image)">
          <a class="xref" href="C1.Util.Drawing.CloneImage.html#C1_Util_Drawing_CloneImage_GrapeCity_Documents_Drawing_Image_">CloneImage(Image)</a>
        </td>
        <td class="markdown level1 summary"><p>Clone image using bitmap.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_Drawing_GetBitmap_System_Int32_System_Int32_" data-uid="C1.Util.Drawing.GetBitmap(System.Int32,System.Int32)">
          <a class="xref" href="C1.Util.Drawing.GetBitmap.html#C1_Util_Drawing_GetBitmap_System_Int32_System_Int32_">GetBitmap(int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets created bitmap.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_Drawing_GetContentRect_GrapeCity_Documents_Drawing_Image_System_Drawing_RectangleF_C1_Util_ContentAlignment_C1_Util_ImageSizeMode_" data-uid="C1.Util.Drawing.GetContentRect(GrapeCity.Documents.Drawing.Image,System.Drawing.RectangleF,C1.Util.ContentAlignment,C1.Util.ImageSizeMode)">
          <a class="xref" href="C1.Util.Drawing.GetContentRect.html#C1_Util_Drawing_GetContentRect_GrapeCity_Documents_Drawing_Image_System_Drawing_RectangleF_C1_Util_ContentAlignment_C1_Util_ImageSizeMode_">GetContentRect(Image, RectangleF, ContentAlignment, ImageSizeMode)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets render rectangle based on image, alignment, and size mode</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_Drawing_GetContentRect_System_Drawing_SizeF_System_Drawing_RectangleF_C1_Util_ContentAlignment_C1_Util_ImageSizeMode_" data-uid="C1.Util.Drawing.GetContentRect(System.Drawing.SizeF,System.Drawing.RectangleF,C1.Util.ContentAlignment,C1.Util.ImageSizeMode)">
          <a class="xref" href="C1.Util.Drawing.GetContentRect.html#C1_Util_Drawing_GetContentRect_System_Drawing_SizeF_System_Drawing_RectangleF_C1_Util_ContentAlignment_C1_Util_ImageSizeMode_">GetContentRect(SizeF, RectangleF, ContentAlignment, ImageSizeMode)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets render rectangle based on content/image size, alignment, and size mode</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_Drawing_GetImageSizeInPoints_GrapeCity_Documents_Drawing_Image_" data-uid="C1.Util.Drawing.GetImageSizeInPoints(GrapeCity.Documents.Drawing.Image)">
          <a class="xref" href="C1.Util.Drawing.GetImageSizeInPoints.html#C1_Util_Drawing_GetImageSizeInPoints_GrapeCity_Documents_Drawing_Image_">GetImageSizeInPoints(Image)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the size of an image expressed in points.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_Drawing_GetSvgImage_System_String_" data-uid="C1.Util.Drawing.GetSvgImage(System.String)">
          <a class="xref" href="C1.Util.Drawing.GetSvgImage.html#C1_Util_Drawing_GetSvgImage_System_String_">GetSvgImage(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets image from SVG code.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_Drawing_GetSvgSize_System_String_" data-uid="C1.Util.Drawing.GetSvgSize(System.String)">
          <a class="xref" href="C1.Util.Drawing.GetSvgSize.html#C1_Util_Drawing_GetSvgSize_System_String_">GetSvgSize(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets image size in points from SVG code.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_Drawing_Normalize_System_Drawing_RectangleF_" data-uid="C1.Util.Drawing.Normalize(System.Drawing.RectangleF)">
          <a class="xref" href="C1.Util.Drawing.Normalize.html#C1_Util_Drawing_Normalize_System_Drawing_RectangleF_">Normalize(RectangleF)</a>
        </td>
        <td class="markdown level1 summary"><p>Normalize rectangle.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_Drawing_ToImage_GrapeCity_Documents_Imaging_GcBitmap_" data-uid="C1.Util.Drawing.ToImage(GrapeCity.Documents.Imaging.GcBitmap)">
          <a class="xref" href="C1.Util.Drawing.ToImage.html#C1_Util_Drawing_ToImage_GrapeCity_Documents_Imaging_GcBitmap_">ToImage(GcBitmap)</a>
        </td>
        <td class="markdown level1 summary"><p>Convert bitmap to image.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
