[]
Contains options for printing.
public class PrintOutOptions
Constructor.
public PrintOutOptions()
Sets the name of the active printer, for example: "Microsoft Print to PDF".
public string ActivePrinter { get; set; }
True to collate multiple copies. The default value is True.
public bool Collate { get; set; }
The number of copies to print. If this argument is omitted, one copy is printed.
public int Copies { get; set; }
Gets or sets the printer setting for double-sided printing.
public object Duplex { get; set; }
The 1-based number of the page at which to start printing. If the value is empty, printing starts at the beginning.
public int? From { get; set; }
True if the sheet's background image is printed on the page.
public bool PrintBackgroundPicture { get; set; }
True if the transparency of the cell's background color is printed on the page.
public bool PrintTransparentCell { get; set; }
The settings about performing shrink to fit on the wrapped text.
public IShrinkToFitSettings ShrinkToFitSettings { get; }
The 1-based number of the last page to print. If the value is empty, printing ends with the last page.
public int? To { get; set; }
Occurs after printing a page.
public event EventHandler<PagePrintedEventArgs> PagePrinted
Occurs before printing a page.
public event EventHandler<PagePrintingEventArgs> PagePrinting