The GetCodeMessage Method is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.
- code
- A PrinterDriverExceptionCode value to get the string message for.
| Visual Basic (Declaration) | |
|---|---|
Public Shared Function GetCodeMessage( _ ByVal code As PrinterDriverExceptionCode _ ) As String | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim code As PrinterDriverExceptionCode Dim value As String value = PrinterDriverException.GetCodeMessage(code) | |
| C# | |
|---|---|
public static string GetCodeMessage( PrinterDriverExceptionCode code ) | |
| C++/CLI | |
|---|---|
public: static String^ GetCodeMessage( PrinterDriverExceptionCode code ) | |
Parameters
- code
- A PrinterDriverExceptionCode value to get the string message for.
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.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
Copy Code