This documentation is archived and is not being maintained.

PrinterSettings.PrinterResolutionCollection Class

Contains a collection of PrinterResolution objects.

For a list of all members of this type, see PrinterSettings.PrinterResolutionCollection Members.


[Visual Basic]
Public Class PrinterSettings.PrinterResolutionCollection
   Implements ICollection, IEnumerable
public class PrinterSettings.PrinterResolutionCollection :
   ICollection, IEnumerable
public __gc class PrinterSettings.PrinterResolutionCollection :
   public ICollection, IEnumerable
public class PrinterSettings.PrinterResolutionCollection implements
   ICollection, IEnumerable

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


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

Typically, you set the printer's resolution through the PageSettings.PrinterResolution property to a valid PrinterResolution instance 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.


Namespace: System.Drawing.Printing

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

Assembly: System.Drawing (in System.Drawing.dll)

See Also

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