Export (0) Print
Expand All

PrinterResolution Class

Represents the resolution supported by a printer.

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

System.Object
   System.Drawing.Printing.PrinterResolution

[Visual Basic]
Public Class PrinterResolution
[C#]
public class PrinterResolution
[C++]
public __gc class PrinterResolution
[JScript]
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.

Remarks

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.

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

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

Show:
© 2014 Microsoft