# FarPoint.Web.Chart.HttpHandlerImageRender.TransferImage

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Web_Chart_HttpHandlerImageRender_TransferImage_" data-uid="FarPoint.Web.Chart.HttpHandlerImageRender.TransferImage*">TransferImage Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Web_Chart_HttpHandlerImageRender_TransferImage_" data-uid="FarPoint.Web.Chart.HttpHandlerImageRender.TransferImage*"></a>
<h4 id="FarPoint_Web_Chart_HttpHandlerImageRender_TransferImage_FarPoint_Web_Chart_FpChart_" data-uid="FarPoint.Web.Chart.HttpHandlerImageRender.TransferImage(FarPoint.Web.Chart.FpChart)">TransferImage(FpChart)</h4>
<div class="markdown level1 summary"><p>Renders chart image and returns the image Url.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public override string TransferImage(FpChart fpChart)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Overrides Function TransferImage(fpChart As FpChart) 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="FarPoint.Web.Chart.FpChart.html">FpChart</a></td>
      <td><span class="parametername">fpChart</span></td>
      <td><p>The instance of <a class="xref" href="FarPoint.Web.Chart.FpChart.html">FpChart</a> control.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</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><p>Url of chart image.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="overrides">Overrides</h5>
<div><a class="xref" href="FarPoint.Web.Chart.ImageRender.TransferImage.html#FarPoint_Web_Chart_ImageRender_TransferImage_FarPoint_Web_Chart_FpChart_">ImageRender.TransferImage(FpChart)</a></div>


<a id="FarPoint_Web_Chart_HttpHandlerImageRender_TransferImage_" data-uid="FarPoint.Web.Chart.HttpHandlerImageRender.TransferImage*"></a>
<h4 id="FarPoint_Web_Chart_HttpHandlerImageRender_TransferImage_System_Drawing_Image_FarPoint_Web_Chart_ImageType_" data-uid="FarPoint.Web.Chart.HttpHandlerImageRender.TransferImage(System.Drawing.Image,FarPoint.Web.Chart.ImageType)">TransferImage(Image, ImageType)</h4>
<div class="markdown level1 summary"><p>Tranfer an image object to storage cacche and return its path</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public virtual string TransferImage(Image image, ImageType outputImageType)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Overridable Function TransferImage(image As Image, outputImageType As ImageType) 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><span class="xref">Image</span></td>
      <td><span class="parametername">image</span></td>
      <td><p>The image.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Web.Chart.ImageType.html">ImageType</a></td>
      <td><span class="parametername">outputImageType</span></td>
      <td><p>Type of the output image.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</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></td>
    </tr>
  </tbody>
</table>
<h5 class="implements">Implements</h5>
    <div><a class="xref" href="FarPoint.Web.Chart.ISparklineSupportHandler.TransferImage.html#FarPoint_Web_Chart_ISparklineSupportHandler_TransferImage_System_Drawing_Image_FarPoint_Web_Chart_ImageType_">ISparklineSupportHandler.TransferImage(Image, ImageType)</a></div>
</div>
