PrinterResolutions Property

PrinterSettings.PrinterResolutions Property

Gets all the resolutions that are supported by this printer.

[Visual Basic]
Public ReadOnly Property PrinterResolutions As _
public PrinterSettings.PrinterResolutionCollection
   PrinterResolutions {get;}
public: __property PrinterSettings.PrinterResolutionCollection*
public function get PrinterResolutions() :

Property Value

A PrinterSettings.PrinterResolutionCollection that represents the resolutions that are supported by this printer.


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

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

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


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

PrinterSettings Class | PrinterSettings Members | System.Drawing.Printing Namespace | PrinterResolution | PrinterSettings.PrinterResolutionCollection | InstalledPrinters | PaperSizes | PaperSources

© 2015 Microsoft