PageSetup

Overview

PageSetup 是Python的Aspose.Cells FOSS中的一个类.

表示页面设置设定.

这个类提供了一个方法,用于在Python程序中使用PageSetup 对象. 有的方法包括: __init__. 在安装Python包的Aspose.Cells FOSS后,所有公众成员都可以访问任何 Python 应用程序. 特性: black_and_white, cell_comments, copies, draft, errors, first_page_number,另外还有11个.

Properties

NameTypeAccessDescription
paper_size``阅读/写作纸大小 (1=信, 9=A4,等).
scale``阅读/写作印刷尺度 (10-400).
first_page_number``阅读/写作第一个页面号码.
fit_to_width``阅读/写作适合宽页 (0 =使用尺度).
fit_to_height``阅读/写作适合页面高度 (0 =使用尺度).
page_order``阅读/写作页面顺序:下,然后上或后下.
orientation``阅读/写作页面定向:“肖像"或"景观”.
use_printer_defaults``阅读/写作是否使用打印机默认值.
black_and_white``阅读/写作无论是用黑白打印.
draft``阅读/写作是否打印在草稿质量.
copies``阅读/写作副本数量.
cell_comments``阅读/写作打印单元格注释:“没有”",在最后"或"如显示".
errors``阅读/写作印刷错误:“显示”",空白"",条",或"NA".
horizontal_dpi``阅读/写作印刷的水平DPI.
vertical_dpi``阅读/写作垂直DPI用于打印.
use_first_page_number``阅读/写作选择使用第一页号码.
fit_to_page``阅读/写作适合页面是否 (如果设置了fit_to_width或 fit_ to_height,则为真).

Methods

SignatureDescription
__init__()

See Also

 中文