Leadtools.Document Deprecated as of v16. Refer to: Leadtools.Forms.Ocr | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
RasterDocumentException Constructor(RasterDocumentExceptionCode)
See Also 
Leadtools.Document Namespace > RasterDocumentException Class > RasterDocumentException Constructor : RasterDocumentException Constructor(RasterDocumentExceptionCode)



code
An RasterDocumentExceptionCode that specifies what caused this exception.
Initializes a new instance of the RasterDocumentException class with its Message string set to the default message that corresponds to code and its inner exception set to a null reference (Nothing in Visual Basic).

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal code As RasterDocumentExceptionCode _
)
Visual Basic (Usage)Copy Code
Dim code As RasterDocumentExceptionCode
 
Dim instance As RasterDocumentException(code)
C# 
public RasterDocumentException( 
   RasterDocumentExceptionCode code
)
C++/CLI 
public:
RasterDocumentException( 
   RasterDocumentExceptionCode code
)

Parameters

code
An RasterDocumentExceptionCode that specifies what caused this exception.

Remarks

The RasterDocumentException class contains an internal list of messages that correspond to each RasterDocumentExceptionCode value. This constructor initializes the Message property of the new instance with the corresponding string for code.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

The Leadtools.Document namespace is deprecated and no longer supported as of LEADTOOLS v16. For v16 and later, please refer to: Leadtools.Forms.Ocr. This documentation is retained for v15 and earlier informational use only.