'Declaration
Public Function SaveImage( _ ByVal row As Integer, _ ByVal column As Integer, _ ByVal rowCount As Integer, _ ByVal columnCount As Integer, _ Optional ByVal width As Integer, _ Optional ByVal height As Integer, _ Optional ByVal includedAreas As WorksheetSubType _ ) As Bitmap
'Usage
Dim instance As SheetView Dim row As Integer Dim column As Integer Dim rowCount As Integer Dim columnCount As Integer Dim width As Integer Dim height As Integer Dim includedAreas As WorksheetSubType Dim value As Bitmap value = instance.SaveImage(row, column, rowCount, columnCount, width, height, includedAreas)
public Bitmap SaveImage( int row, int column, int rowCount, int columnCount, int width, int height, WorksheetSubType includedAreas )
Parameters
- row
- The top row of the range.
- column
- The left column of the range.
- rowCount
- The total number of rows in the range.
- columnCount
- The total number of columns in the range.
- width
- The width of exported image. 0 to use the actual width of the range.
- height
- The height of exported image. 0 to use the actual height of the range.
- includedAreas
- A GrapeCity.Spreadsheet.WorksheetSubType value indicating which areas will be included into the saved image.
Return Value
A System.Drawing.Bitmap instance represents the image of the range.