GdPicture.NET.14
GdPicture14 Namespace / GdPictureImaging Class / TwainSetImprinterString Method
The string to be used for printing.





In This Topic
TwainSetImprinterString Method (GdPictureImaging)
In This Topic
Specifies the string that shall be used for printing with the current imprinter mode.
Syntax
'Declaration
 
Public Function TwainSetImprinterString( _
   ByVal PrinterString As String _
) As Boolean
public bool TwainSetImprinterString( 
   string PrinterString
)
public function TwainSetImprinterString( 
    PrinterString: String
): Boolean; 
public function TwainSetImprinterString( 
   PrinterString : String
) : boolean;
public: bool TwainSetImprinterString( 
   string* PrinterString
) 
public:
bool TwainSetImprinterString( 
   String^ PrinterString
) 

Parameters

PrinterString
The string to be used for printing.

Return Value

True if success, else False -> Use TwainGetLastResultCode() and TwainGetLastConditionCode() methods for diagnosing the error.
Remarks
Before using this method check that the TWAIN state is 4 (TWAIN_SOURCE_OPEN). To get the TWAIN state, use the TwainGetState() method.
See Also