Leadtools.Document Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
Code Property
See Also 
Leadtools.Document Namespace > RasterDocumentException Class : Code Property




Gets or sets the code that caused this exception.

Syntax

Visual Basic (Declaration) 
Public Property Code As RasterDocumentExceptionCode
Visual Basic (Usage)Copy Code
Dim instance As RasterDocumentException
Dim value As RasterDocumentExceptionCode
 
instance.Code = value
 
value = instance.Code
C# 
public RasterDocumentExceptionCode Code {get; set;}
Managed Extensions for C++ 
public: __property RasterDocumentExceptionCode get_Code();
public: __property void set_Code( 
   RasterDocumentExceptionCode value
);
C++/CLI 
public:
property RasterDocumentExceptionCode Code {
   RasterDocumentExceptionCode get();
   void set (RasterDocumentExceptionCode value);
}

Return Value

An RasterDocumentExceptionCode value that specifies what caused this exception.

Example

For an example, refer to RasterDocumentException

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Leadtools.Documentrequires a Document or Medical toolkit license and unlock key. For more information, refer to: Raster Pro/Document/Medical Features