Class SpreadsheetLayoutOptions
- Namespace
- DocWright.Spreadsheet.Rendering
- Assembly
- DocWright.Spreadsheet.Rendering.dll
What SpreadsheetLayout lays out and how. Every member has a default that follows the sheet.
public sealed class SpreadsheetLayoutOptions
- Inheritance
-
SpreadsheetLayoutOptions
- Inherited Members
Constructors
Fields
- DefaultMaxPages
The largest number of pages a layout makes when Limits names none.
Properties
- Diagnostics
Gets or sets where a font that had to be substituted, and anything not drawn, is reported; null for nowhere.
- Gridlines
Gets or sets whether the grid between the cells is drawn; null to follow the sheet's page setup.
- Headings
Gets or sets whether the row numbers and column letters are drawn; null to follow the sheet's page setup.
- IgnorePrintAreas
Gets or sets whether the sheets' print areas are ignored, so that each sheet is laid out from A1 to the last cell that prints, as Excel's export does with "Ignore print areas". False by default.
- Limits
Gets or sets the limits. MaxPages bounds the pages made (DefaultMaxPages when it is null or there are no limits): a sheet with a cell in its last row is tens of thousands of pages.
- Pagination
Gets or sets how the sheet is divided into pages. Printed by default.
- Range
Gets or sets the range laid out, in place of the sheet's print area; null for the print area, or everything the sheet uses when it has none.
- Scale
Gets or sets the scale in per cent, 10 to 400, in place of the sheet's own scale or fit to pages; null to follow the sheet. A value outside the range is held to it.
- Sheets
Gets or sets the names of the sheets to lay out, in the order given, when a whole workbook is laid out; null for every visible worksheet in the workbook's order. A name the workbook does not have is skipped.
- Tagged
Gets or sets whether the pages carry the structure a tagged PDF is written from: each sheet a section holding a table of rows and cells, in reading order, with a cell of the repeated title rows or columns as a header cell; the grid, the headings, the header and footer, fills, borders and titles repeated on later pages are left outside it, which a PDF writes as artifacts. False by default.