Worksheet.ExportToHtml Method

Exports a worksheet's part (that is specified either by the start/end row and column indexes) to a web page and returns HTML code of this page.

Namespace: SpreadsheetCloudAPI.SpreadsheetSDK
Assembly: SpreadsheetSDK.dll

Syntax

C#
VB
public Stream ExportToHtml( 
   UInt32 startRowIndex,  
   UInt32 endRowIndex,  
   UInt32 startColumnIndex,  
   UInt32 endColumnIndex,  
   bool exportDrawingObjects 
)

Parameters

startRowIndex
Type: UInt32
A zero-based index of the first row starting from which cells are exported.
endRowIndex
Type: UInt32
A zero-based index of the last row that limits the exported cell area.
startColumnIndex
Type: UInt32
A zero-based index of the first column started from which cells are exported.
endColumnIndex
Type: UInt32
A zero-based index of the last column that limits the exported cell area.
exportDrawingObjects
Type: Boolean
true to export drawing objects (pictures, charts, etc.); otherwise, false.

Return value

Type: Stream
HTML code of a web page that reproduces the exported text.

See Also