Accusoft PrintPRO 7
PrinterNum Property
See Also  Send Feedback
AccusoftPrintPro7 ActiveX DLL > PrintPro Object : PrinterNum Property

Glossary Item Box

Description

Gets the index of the current printer in the printer collection.

Property Type

Read-only property

Syntax

Visual Basic
Public Property PrinterNum As Long

Return Type

A long value which represents a zero-based index of the current printer in the printer collection.

Remarks

Not available at design time. PrintPRO maintains a list of available printers in an internal collection (array). The NumPrinters property can be used to determine the number of printers in the collection. The PrinterName method can be used to get the name of a printer based on its index in the collection. The SelectPrinter method can be used to select a printer based on its index in the collection. The property returns the index of the current printer.

See Also

©2013. Accusoft Corporation. All Rights Reserved.