Name

PrinterResolution

Synopsis

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()

Get .NET Windows Forms in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.