System.Drawing.Printing.PrinterSettings.PrinterResolutions Property

Gets all the resolutions that are supported by this printer.

Syntax

public PrinterSettings.PrinterResolutionCollection PrinterResolutions { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The System.Drawing.Printing.PrinterSettings.PrinterResolutionCollection contains System.Drawing.Printing.PrinterResolution instances that represent the printer resolutions supported through the PrinterResolution.Kind property, which contains one of the System.Drawing.Printing.PrinterResolutionKind values.

Typically, you set a page's paper source through the PageSettings.PrinterResolution property to a valid System.Drawing.Printing.PrinterResolution available through the PrinterSettings.PrinterResolutions collection.

If System.Drawing.Printing.PrinterResolutionKind is Custom, then use the PrinterResolution.X and PrinterResolution.Y properties to determine the custom printer resolution in the horizontal and vertical directions, respectively.

Requirements

Namespace: System.Drawing.Printing
Assembly: System.Drawing (in System.Drawing.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0