SelectPrinterByIndex

Top  Previous  Next

[This method  is new in version 2.04 of Gnostice PDFtoolkit ActiveX/. NET]

 

The SelectPrinterByIndex method allow to programmatically select the printer to be used for printing.

This function selects printer at the index specified for printing. It returns true, if the printer is selected.

 

Syntax

 

[VC++]

BOOL SelectPrinterByIndex(long PrinterIndex);

 

[CS]

public abstract new Boolean SelectPrinterByIndex ( Int32 PrinterIndex )

 

[VB]

Function SelectPrinterByIndex(PrinterIndex As Long) As Boolean