[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.PrintOutOptions

PrintOutOptions Class

Contains options for printing.

Inheritance
PrintOutOptions
Namespace: GrapeCity.Documents.Excel
Assembly: DS.Documents.Excel.dll
Syntax
public class PrintOutOptions
Public Class PrintOutOptions

Constructors

Name Description
PrintOutOptions()

Constructor.

Properties

Name Description
ActivePrinter

Sets the name of the active printer, for example: "Microsoft Print to PDF".

Collate
<code>True</code> to collate multiple copies.

The default value is True.

Copies

The number of copies to print. If this argument is omitted, one copy is printed.

Duplex

Gets or sets the printer setting for double-sided printing.

From

The 1-based number of the page at which to start printing. If the value is empty, printing starts at the beginning.

PrintBackgroundPicture

True if the sheet's background image is printed on the page.

PrintTransparentCell

True if the transparency of the cell's background color is printed on the page.

ShrinkToFitSettings

The settings about performing shrink to fit on the wrapped text.

To

The 1-based number of the last page to print. If the value is empty, printing ends with the last page.

Events

Name Description
PagePrinted

Occurs after printing a page.

PagePrinting

Occurs before printing a page.