<< Click to Display Table of Contents >> VpeDevEnum |
[Windows platform only; not supported by 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 VpeGetDevEntry().
int VpeDevEnum(
VpeHandle hDoc
)
VpeHandle hDoc
Document Handle
Returns:
the number of printing devices installed in the system
Remarks:
Do not call VpeDevEnum() in a loop like "for x = 0 to VpeDevEnum(hDoc) - 1", because each time VPE will check for all available devices, which is time-consuming. Rather assign the value of VpeDevEnum() to a variable.
Example:
see VpeGetDevEntry()