LEADTOOLS Virtual Printer (Leadtools.Printer assembly)
LEAD Technologies, Inc

GetCodeMessage Method






A PrinterDriverExceptionCode value to get the string message for.
Gets the error string that corresponds to a specific PrinterDriverExceptionCode.
Syntax
public static string GetCodeMessage( 
   PrinterDriverExceptionCode code
)
'Declaration
 
Public Shared Function GetCodeMessage( _
   ByVal code As PrinterDriverExceptionCode _
) As String
'Usage
 
Dim code As PrinterDriverExceptionCode
Dim value As String
 
value = PrinterDriverException.GetCodeMessage(code)
public static string GetCodeMessage( 
   PrinterDriverExceptionCode code
)
 function Leadtools.Printer.PrinterDriverException.GetCodeMessage( 
   code 
)
public:
static String^ GetCodeMessage( 
   PrinterDriverExceptionCode code
) 

Parameters

code
A PrinterDriverExceptionCode value to get the string message for.

Return Value

A System.String that corresponds to a specific PrinterDriverExceptionCode.
Remarks
By default, PrinterDriverException has a string message for each PrinterDriverExceptionCode. Get this message by calling this method. Additionally, any string message for any PrinterDriverExceptionCode can be changed by using the SetCodeMessage method.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PrinterDriverException Class
PrinterDriverException Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Printer requires a Printer module license and unlock key. It is included as part of LEADTOOLS Document Imaging Enterprise. For more information, refer to: Imaging Pro/Document/Medical Features