Export to HTML

GET /api/spreadsheet/exporttohtml?id&filename&extension&sheetindex&sheetname&startrowindex&startcolumnindex&endrowindex&endcolumnindex&range&exportdrawingobjects&exportgridlines

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

Parameters

  • id - an identifier of a session to which the document has been loaded. This parameter's value is returned by the request used to create or load the document.
  • filename - a string value that specifies the file name of the document.
  • extension - a string value that specifies the file extension of the document. The supported file extensions are: OPENXML (XLSX), XLS and CSV.
  • sheetindex - a zero-based index of the worksheet that contains the exported text.
  • sheetname - a name of the worksheet that contains the exported text.
  • startrowindex - a zero-based index of the first row starting from which cells are exported.
  • startcolumnindex - a zero-based index of the first column started from which cells are exported.
  • endrowindex - a zero-based index of the last row that limits the exported cell area.
  • endcolumnindex - a zero-based index of the last column that limits the exported cell area.
  • range - an string value that specifies a cell range from which cells are exported.
  • exportdrawingobjects - a boolean value. True to export drawing objects (pictures, charts, etc.); otherwise, false.
  • exportgridlines - a boolean value. True to export cell gridlines; otherwise, false.