DevEnum

<< Click to Display Table of Contents >>

Navigation:  Device Control Properties >

DevEnum

Previous pageReturn to chapter overviewNext page

[Windows platform only; not supported by PHP and the Community Edition]

Initialize enumeration of all available output devices. After this method has been called, you can retrieve each single device name with the method GetDevEntry().

method long VPE.DevEnum(

)

Returns:

the number of printing devices installed in the system

Remarks:

Do not call DevEnum() in a loop like "for x = 0 to Doc.DevEnum() - 1", because each time VPE will check for all available devices, which is time-consuming. Rather assign the value of DevEnum() to a variable.

Example:

see GetDevEntry()