[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.PrintOutOptions

PrintOutOptions Class

包含打印选项。

Inheritance
PrintOutOptions
Namespace: GrapeCity.Documents.Excel
Assembly: GcDocs.Excel.dll
Syntax
public class PrintOutOptions

Constructors

Name Description
PrintOutOptions()

构造函数。

Properties

Name Description
ActivePrinter

设置活动打印机的名称,例如:"Microsoft Print to PDF"。

Collate

设置为True 以整理多份副本。 默认值为True

Copies

打印的副本数量。 如果省略此参数,则打印一份副本。

Duplex

获取或设置双面打印的打印机设置。

From

打印的起始页码,页码从1开始编码。 如果该值为空,则从开头开始打印。

PrintBackgroundPicture

如果要在页面上打印工作表的背景图片,则为True

PrintTransparentCell

如果单元格背景色的透明度要在页面上打印出来,则为True

ShrinkToFitSettings

关于对换行文本执行缩小以适应的设置。

To

打印的终止页码,页码从1开始编码。 如果该值为空,则打印至最后一页。

Events

Name Description
PagePrinted

在打印一页之后发生。

PagePrinting

在打印页面之前发生。