IGxPrinters.Count

Syntax

Count: Integer;

Description

The Count property returns the number of printers installed in the operating system.

Example

Sub Main;

Var

Printers: IGxPrinters;

i: Integer;

Begin

Printers:=New GxPrinters.Create;

i:=Printers.Count;

End Sub Main;

After executing the example the "i" variable contains the number of printers installed in the operating system by default.

See also:

IGxPrinters