System.Drawing.Printing.PrinterResolution Class

Represents the resolution supported by a printer.

See Also: PrinterResolution Members


public class PrinterResolution


This class is used by the 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 PrinterResolution.Kind property to determine whether the printer resolution type is the System.Drawing.Printing.PrinterResolutionKind value PrinterResolutionKind.Custom. If so, use the PrinterResolution.X and PrinterResolution.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
Assembly: System.Drawing (in System.Drawing.dll)
Assembly Versions: 1.0.3300.0, 1.0.5000.0,