Pdf | |
The PdfExcelSection type exposes the following members.
| Name | Description | |
|---|---|---|
| PdfExcelSection(Stream) | Creates an Excel section from a stream that can be added to the header or footer templates of a pdf document. | |
| PdfExcelSection(String) | Creates an Excel section from a file that can be added to the header or footer templates of a pdf document. | |
| PdfExcelSection(Single, Single, Stream) | Creates an Excel section from a stream that can be added to the header or footer templates of a pdf document. | |
| PdfExcelSection(Single, Single, String) | Creates an Excel section from a file that can be added to the header or footer templates of a pdf document. | |
| PdfExcelSection(Single, Single, Single, Stream) | Creates an Excel section from a stream that can be added to the header or footer templates of a pdf document. | |
| PdfExcelSection(Single, Single, Single, String) | Creates an Excel section from a file that can be added to the header or footer templates of a pdf document. |
| Name | Description | |
|---|---|---|
| AutoDetectComplexScript | Gets or sets whether complex scripts (Arabic, Hebrew, Indic) are detected and shaped even where the workbook does not mark them. Default: false. | |
| ConvertBlankPages | Gets or sets whether a page with nothing on it is drawn. Default: false. | |
| ConvertBlankSheets | Gets or sets whether a sheet with nothing on it is drawn. Default: false. | |
| ExternalLinksEnabled | Render the workbook's web links as clickable links on every page that shows the band. Default: true. | |
| FilePath | Gets the path of the workbook, or null when the section was created from a stream. | |
| Format | Gets or sets the format the workbook is read as. Default: Automatic, which takes the format from the file extension, or detects it from the content for a stream. | |
| GridLines | Gets or sets whether the gridlines are drawn. Default: Automatic (each sheet's own print setting). | |
| Height |
Gets or sets the element height, in points, in the destination pdf page.
(Inherited from PdfSectionElement) | |
| InternalLinksEnabled | Render the workbook's links that point inside the shown page as internal pdf links. Default: true. | |
| Layout | Gets or sets how each sheet is scaled onto the pages. Default: FitSheetOnOnePage, since a band shows one page. | |
| LFN | Path of the diagnostic log file written while rendering. When unset, no log is written. | |
| PageRanges | Selects the page of the rendered workbook that is shown in the band, e.g. "2". A band shows one page; the first page listed is used. Empty (the default) shows the first page. | |
| Password | Gets or sets the password of an encrypted workbook. Default: null (it is not encrypted). | |
| SheetHeadersAndFooters | Gets or sets whether the sheets' own printed headers and footers are drawn. Default: true. | |
| Width |
Gets or sets the element width, in points, in the destination pdf page.
(Inherited from PdfSectionElement) | |
| Worksheets | Gets or sets the sheets drawn, by name, separated by commas. Empty (the default) draws every visible sheet. | |
| X |
Gets or sets the element position on the X axis.
(Inherited from PdfSectionElement) | |
| Y |
Gets or sets the element position on the Y axis.
(Inherited from PdfSectionElement) |
The workbook can be given as a file path or as a stream, in any of the formats of ExcelFormat. It is rendered once, in-process, every sheet laid out on a page the size of the band with no margins of its own, and the page shown (the first, or the one PageRanges names) is drawn onto the header or footer of every page - scaled to the band's width and cut at its height, never stretched. A band shows one page, so the sheet is fitted onto it by default (Layout). Hyperlinks stay clickable on every page that shows the band.
A section is independent of the converter it is used with: it can head the pages of any converter.