This documentation is archived and is not being maintained.

PrinterResolution Class

Represents the resolution supported by a printer.

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


[Visual Basic]
Public Class PrinterResolution
public class PrinterResolution
public __gc class PrinterResolution
public class PrinterResolution

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.


This class is used by PrinterSettings.PrinterResolutions and PageSettings.PrinterResolution properties to get the printer resolutions that are available on the printer and to set the printing resolution for a page, respectively.

Use the Kind property to determine whether the printer resolution type is the PrinterResolutionKind value, Custom. If so, use the X and Y properties to determine the printer resolution in the horizontal and vertical directions, respectively.

For more information on printing, see the System.Drawing.Printing namespace overview.


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

PrinterResolution Members | System.Drawing.Printing Namespace | PrinterResolutionKind | PrinterSettings | PrinterSettings.PrinterResolutions | PageSettings.PrinterResolution