# FarPoint.Web.Chart.ImageFill.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Web_Chart_ImageFill__ctor_" data-uid="FarPoint.Web.Chart.ImageFill.#ctor*">ImageFill Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Web_Chart_ImageFill__ctor_" data-uid="FarPoint.Web.Chart.ImageFill.#ctor*"></a>
<h4 id="FarPoint_Web_Chart_ImageFill__ctor_System_Drawing_Image_" data-uid="FarPoint.Web.Chart.ImageFill.#ctor(System.Drawing.Image)">ImageFill(Image)</h4>
<div class="markdown level1 summary"><p>Creates a new image fill with the specified image.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ImageFill(Image image)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(image As Image)</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><span class="xref">Image</span></td>
      <td><span class="parametername">image</span></td>
      <td><p>Image of the fill</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Web_Chart_ImageFill__ctor_" data-uid="FarPoint.Web.Chart.ImageFill.#ctor*"></a>
<h4 id="FarPoint_Web_Chart_ImageFill__ctor_System_String_" data-uid="FarPoint.Web.Chart.ImageFill.#ctor(System.String)">ImageFill(string)</h4>
<div class="markdown level1 summary"><p>Creates a new image fill with the specified image.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ImageFill(string imageData)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(imageData As String)</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="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">imageData</span></td>
      <td><p>Image data in Base64 string.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
