FlexCelPdfExport.ExportSheet Method
Overloads
- FlexCelPdfExport.ExportSheet
- FlexCelPdfExport.ExportSheet(Int32, Int32)
- FlexCelPdfExport.ExportSheet(Int32, Int32, Int32, Int32)
FlexCelPdfExport.ExportSheet
Exports the activesheet on the current XlsFile.
Syntax
Namespace: FlexCel.Render
public void ExportSheet()
See also
FlexCelPdfExport.ExportSheet(Int32, Int32)
Exports the active sheet on the current XlsFile. You can define which is the first page to print and the global count of pages, so the page numbers on headers and footers of the excel file correspond with the actual pages on the pdf.
Syntax
Namespace: FlexCel.Render
public void ExportSheet(Int32 startPageToDisplay, Int32 totalPagesToDisplay)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
startPageToDisplay | Int32 | First page that the headers and footers on the xls file will show. If you are exporting only one sheet to the pdf file, this can be 1. If you are exporting more than one sheet to the same pdf file, you will want to set StartPage to the actual page on the pdf. | |
totalPagesToDisplay | Int32 | The total number of pages to display on Excel headers and footers. If you are exporting only one sheet to the pdf file, set it to -1, and it will be calculated automatically. If not, please supply here the total number of pages the file will have so FlexCel can show footers like "page 1 of 50" |
See also
FlexCelPdfExport.ExportSheet(Int32, Int32, Int32, Int32)
Exports the active sheet on the current XlsFile. You can define which is the first page to print and the global count of pages, so the page numbers on headers and footers of the excel file correspond with the actual pages on the pdf.
Syntax
Namespace: FlexCel.Render
public void ExportSheet(Int32 startPageToDisplay, Int32 totalPagesToDisplay, Int32 startPageToExport, Int32 totalPagesToExport)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
startPageToDisplay | Int32 | First page that the headers and footers on the xls file will show. If you are exporting only one sheet to the pdf file, this can be 1. If you are exporting more than one sheet to the same pdf file, you will want to set StartPage to the actual page on the pdf. | |
totalPagesToDisplay | Int32 | The total number of pages to display on Excel headers and footers. If you are exporting only one sheet to the pdf file, set it to -1, and it will be calculated automatically. If not, please supply here the total number of pages the file will have so FlexCel can show footers like "page 1 of 50" | |
startPageToExport | Int32 | First page on the file to export (first page is 1). | |
totalPagesToExport | Int32 | How many pages will be exported. If you specify a negative number here (the default), all pages from startPageToExport will be exported. |