.NET Windows Forms in a Nutshell

PrinterResolution

System.Drawing.Printing (system.drawing.dll) class

This class encapsulates the horizontal X and vertical Y resolution (in dots per inch) of the printer device, and the resolution Kind this represents. The Kind is chosen from the PrinterResolutionKind enumeration and indicates a print quality (e.g., Draft or High quality).

public class PrinterResolution { // Public Instance Properties public PrinterResolutionKind Kind {get; } public int X {get; } public int Y {get; } // Public Instance Methods public override string ToString (); // overrides object }

Returned By

PageSettings.PrinterResolution , PrinterResolutionCollection.this

Passed To

PageSettings.PrinterResolution , PrinterResolutionCollection.PrinterResolutionCollection()

Категории