# FarPoint.Win.Spread.SheetView.SaveImage

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_Spread_SheetView_SaveImage_" data-uid="FarPoint.Win.Spread.SheetView.SaveImage*">SaveImage Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_Spread_SheetView_SaveImage_" data-uid="FarPoint.Win.Spread.SheetView.SaveImage*"></a>
<h4 id="FarPoint_Win_Spread_SheetView_SaveImage_System_Int32_System_Int32_System_Int32_System_Int32_System_Int32_System_Int32_GrapeCity_Spreadsheet_WorksheetSubType_" data-uid="FarPoint.Win.Spread.SheetView.SaveImage(System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,GrapeCity.Spreadsheet.WorksheetSubType)">SaveImage(int, int, int, int, int, int, WorksheetSubType)</h4>
<div class="markdown level1 summary"><p>Saves the specified range in the sheet to the specified image file.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Bitmap SaveImage(int row, int column, int rowCount, int columnCount, int width = 0, int height = 0, WorksheetSubType includedAreas = WorksheetSubType.Normal)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function SaveImage(row As Integer, column As Integer, rowCount As Integer, columnCount As Integer, Optional width As Integer = 0, Optional height As Integer = 0, Optional includedAreas As WorksheetSubType = WorksheetSubType.Normal) As Bitmap</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.int32">int</a></td>
      <td><span class="parametername">row</span></td>
      <td><p>The top row of the range.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">column</span></td>
      <td><p>The left column of the range.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">rowCount</span></td>
      <td><p>The total number of rows in the range.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">columnCount</span></td>
      <td><p>The total number of columns in the range.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">width</span></td>
      <td><p>The width of exported image. 0 to use the actual width of the range.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">height</span></td>
      <td><p>The height of exported image. 0 to use the actual height of the range.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../GrapeCity.Spreadsheet/GrapeCity.Spreadsheet.WorksheetSubType.html">WorksheetSubType</a></td>
      <td><span class="parametername">includedAreas</span></td>
      <td><p>A <a class="xref" href="../GrapeCity.Spreadsheet/GrapeCity.Spreadsheet.WorksheetSubType.html">WorksheetSubType</a> value indicating which areas will be included into the saved 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><span class="xref">Bitmap</span></td>
      <td><p>A <span class="xref">System.Drawing.Bitmap</span> instance represents the image of the range.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="FarPoint_Win_Spread_SheetView_SaveImage_System_Int32_System_Int32_System_Int32_System_Int32_System_Int32_System_Int32_GrapeCity_Spreadsheet_WorksheetSubType__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>Due to the limitation of GDI+, the width and height cannot exceed 10000 pixels.</p>
</div>
</div>
