Export (0) Print
Expand All

PrinterSettings.PrinterResolutionCollection Class

Contains a collection of PrinterResolution objects.

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

System.Object
   System.Drawing.Printing.PrinterSettings.PrinterResolutionCollection

[Visual Basic]
Public Class PrinterSettings.PrinterResolutionCollection
   Implements ICollection, IEnumerable
[C#]
public class PrinterSettings.PrinterResolutionCollection :
   ICollection, IEnumerable
[C++]
public __gc class PrinterSettings.PrinterResolutionCollection :
   public ICollection, IEnumerable
[JScript]
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.

Remarks

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.

Requirements

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

Show:
© 2014 Microsoft