Link Search Menu Expand Document

DocumentPrinter Properties

The DocumentPrinter type exposes the following members.

Properties
NameDescription
Public propertyCollate
Gets or sets a value indicating whether the printed document is collated.
Public propertyColor
Gets or sets a value indicating whether the page should be printed in color.
Public propertyCopies
Gets or sets the number of copies of the document to print.

Note: Not all printers support printing multiple copes.

Public propertyDuplex
Gets or sets the printer setting for double-sided printing (duplex). To set duplex mode by name use the SetDuplex(String) method.

Note: Not all printers support the duplex printing.

Public propertyLandscape
Gets or sets a value indicating whether the page is printed in landscape or portrait orientation.
Public propertyMargins
Gets or sets the margins for printed page.
Public propertyPaperSize
Gets or sets the paper size for the page. To set paper size by name use the SetPaperSize(String) method.
Public propertyPaperSource
Gets or sets the page's paper source; for example, the printer's upper tray. To set paper source by its predefined name use the SetPaperSource(String) method.
Public propertyPassword
Password for protected PDF documents.
Public propertyPrinterResolution
Gets or sets the printer resolution for the page. To set resolution by its predefined name use the SetPrinterResolution(String) method. To set custom resolution use the SetPrinterResolution(Int32, Int32) method.
Public propertyRegistrationKey
Registration key.
Public propertyRegistrationName
Registration name.
Top
See Also

Reference