Skip to content

Getting started with .NET

In Microsoft Visual Studio, add a NuGet reference to Hyland.DocumentFilters; alternatively you can add a project reference to the Hyland.DocumentFilters project from the C# samples.

The Document Filters objects and methods are described in the following topics using Interface Description Language (IDL).

Note: Previous versions used Perceptive.DocumentFilters as a pre-compiled project, which is still included in the package. Hyland.DocumentFilters available as source binaries on NuGet, or as source in the C# samples directory.

A project can be updated to use Hyland.DocumentFilters by updating the project reference, and changing the namespace.

Handling Exceptions

In Java and C#, every method of the API can throw an IGRException.

The IGRException class includes an errorCode and a Message. The errorCode represents one of the Result Codes listed in Constants and codes. The Message string may provide additional information about the error.

Java Implementation C# Implementation Description
java.lang.Exception System.Exception Base Class
int getErrorCode() [read-only property]int errorCode Retrieve the Error Code
string getMessage [read-only property]string Message Retrieve the Error Message