[]
Contains options for printing.
public class PrintOutOptions
Public Class PrintOutOptions
PrintOutOptions options = new PrintOutOptions();
options.Copies = 2;
options.Collate = true;
options.PrintBackgroundPicture = true;
| Name | Description |
|---|---|
| PrintOutOptions() | Constructor. |
| Name | Description |
|---|---|
| ActivePrinter | Gets or sets the name of the active printer, for example: "Microsoft Print to PDF". |
| Collate | Gets or sets a value indicating whether multiple copies are collated. The default value is true. |
| Copies | Gets or sets 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 | Gets or sets the 1-based number of the page at which to start printing. If the value is empty, printing starts at the beginning. |
| PaperSourceName | Gets or sets the name of the paper source (input tray) used for printing. |
| PrintBackgroundPicture | Gets or sets a value indicating whether the sheet's background image is printed on the page. |
| PrintTransparentCell | Gets or sets a value indicating whether the transparency of the cell's background color is printed on the page. |
| ShrinkToFitSettings | Gets the settings that control shrink-to-fit behavior for wrapped text. |
| To | Gets or sets the 1-based number of the last page to print. If the value is empty, printing ends with the last page. |
| Name | Description |
|---|---|
| PagePrinted | Occurs after printing a page. |
| PagePrinting | Occurs before printing a page. |