PageSetup
Overview
PageSetup is a class in Aspose.Cells FOSS for Python.
Represents page setup settings.
This class provides 1 method for working with PageSetup objects in Python programs.
Available methods include: __init__.
All public members are accessible to any Python application after installing the Aspose.Cells FOSS for Python package.
Properties: black_and_white, cell_comments, copies, draft, errors, first_page_number, and 11 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
paper_size | `` | Read/Write | Paper size (1=Letter, 9=A4, etc.). |
scale | `` | Read/Write | Print scaling (10-400). |
first_page_number | `` | Read/Write | First page number. |
fit_to_width | `` | Read/Write | Fit to width pages (0 = use scale). |
fit_to_height | `` | Read/Write | Fit to height pages (0 = use scale). |
page_order | `` | Read/Write | Page order: ‘downThenOver’ or ‘overThenDown’. |
orientation | `` | Read/Write | Page orientation: ‘portrait’ or ’landscape’. |
use_printer_defaults | `` | Read/Write | Whether to use printer defaults. |
black_and_white | `` | Read/Write | Whether to print in black and white. |
draft | `` | Read/Write | Whether to print in draft quality. |
copies | `` | Read/Write | Number of copies. |
cell_comments | `` | Read/Write | Print cell comments: ’none’, ‘atEnd’, or ‘asDisplayed’. |
errors | `` | Read/Write | Print errors: ‘displayed’, ‘blank’, ‘dash’, or ‘NA’. |
horizontal_dpi | `` | Read/Write | Horizontal DPI for printing. |
vertical_dpi | `` | Read/Write | Vertical DPI for printing. |
use_first_page_number | `` | Read/Write | Whether to use the first page number. |
fit_to_page | `` | Read/Write | Whether to fit to page (True if fit_to_width or fit_to_height is set). |
Methods
| Signature | Description |
|---|---|
__init__() |