PDF Viewer ActiveX Control

PrinterCount

 

Return the count of installed Printer.

Public Function PrinterCount() as Integer
 

 

No Parameter

Return Value
return the total count of printer.

Example

   

Visual Basic Syntax
 For i = 0 To PDFViewer1.PrinterCount - 1
cboprinter.Add(PDFViewer1.PrinterName(i))
Next