←Select platform

GetCodeMessage Method

Summary

Gets the error string that corresponds to a specific PrinterDriverExceptionCode.

Syntax

C#
VB
C++
public static string GetCodeMessage( 
   PrinterDriverExceptionCode code 
) 
  
Public Shared Function GetCodeMessage( _ 
   ByVal code As Leadtools.Printer.PrinterDriverExceptionCode _ 
) As String 
public: 
static String^ GetCodeMessage(  
   Leadtools.Printer.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

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Printer Assembly