The PrintSettings type exposes the following members.

Constructors

  NameDescription
Public methodPrintSettings
Create a new PrintSettings object with default settings.

Methods

  NameDescription
Public methodClone
Create a copy of the print settings.

Properties

  NameDescription
Public propertyCollate
Collate copies.
Public propertyCopies
Number of copies to print.
Public propertyDuplex
Duplex printing.
Public propertyPagePrintSettings
Page-specific print settings. These can be modified per page if one monitors the QueryPagePrintSettings event.
Public propertyPagesAsIndices
Pages to print, as an array of (zero-based) page indices.
Public propertyPagesAsString
Pages to print, as a textual specification:
  • As an enumeration of pages, e.g. "1,2,5"
  • As a range of pages, e.g. "3-12"
  • As a combination, e.g. "1,3-12,84"
Public propertyPrintController
PrintController to use for printing. By default, this is set to an instance of System.Drawing.Printing.StandardPrintController so that printing does not cause the application to loose focus, nor show a status dialog.
Public propertyPrinterName
The name of the printer.
Public propertyPrinterSettings
The printer settings of the printer indicated by PrintName.

See Also