PrintJobSettings.getNumberOfPrinters Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the number of printers that are set up on the computer.
public:
virtual int getNumberOfPrinters();
public virtual int getNumberOfPrinters ();
abstract member getNumberOfPrinters : unit -> int
override this.getNumberOfPrinters : unit -> int
Public Overridable Function getNumberOfPrinters () As Integer
Returns
The number of printers that are set up on the computer.