GdPicture.NET Reference Guide
PrintGetPrinterName Method (GdPictureImaging)
Example 





GdPicture14 Namespace > GdPictureImaging Class : PrintGetPrinterName Method
Value between 1 and printer count.
Returns the name of an available printer.
Syntax
'Declaration
 
Public Function PrintGetPrinterName( _
   ByVal PrinterNo As Integer _
) As String
public string PrintGetPrinterName( 
   int PrinterNo
)
public function PrintGetPrinterName( 
    PrinterNo: Integer
): String; 
public function PrintGetPrinterName( 
   PrinterNo : int
) : String;
public: string* PrintGetPrinterName( 
   int PrinterNo
) 
public:
String^ PrintGetPrinterName( 
   int PrinterNo
) 

Parameters

PrinterNo
Value between 1 and printer count.

Return Value

The name of the printer.
Example
Obtaining the name of an available printer
Dim oGdPictureImaging As New GdPictureImaging
Dim PrinterName As String
PrinterName = oGdPictureImaging.PrintGetPrinterName(3)
See Also

Reference

GdPictureImaging Class
GdPictureImaging Members