# ReportProc Class

> Represents the error reporting callback function.

- Product: Adobe PDF Library 21
- Language: .NET Framework
- Version: APDFL21.0.0PlusP1e
- HTML page: https://docs.datalogics.com/apdfl21/DotNetFramework/APDFL21.0.0PlusP1e/class/ReportProc
- Version index: https://docs.datalogics.com/apdfl21/DotNetFramework/APDFL21.0.0PlusP1e/llms.txt

```csharp
class ReportProc : SystemIDisposable
```

**Namespace:** `Datalogics::PDFL`

**Inherits from:** `SystemIDisposable`

## Description

Represents the error reporting callback function.

A ReportProc administrative command is typically passed to generate an error report.

If a process is not completing properly, or taking too long to finish, this process will create an error report in response. At frequent intervals, the method calls ReportProc. If the ReportProc command returns a "true" statement, the method generates an error. If it returns "false," the process continues. The time interval is determined by the ReportProc command.

**Referenced by:** [`Document`](https://docs.datalogics.com/apdfl21/DotNetFramework/APDFL21.0.0PlusP1e/class/Document.md)

**Uses types:** [`ReportType`](https://docs.datalogics.com/apdfl21/DotNetFramework/APDFL21.0.0PlusP1e/enum/ReportType.md)

## Constructors

### ReportProc

```csharp
Datalogics.PDFL.ReportProc.ReportProc()
```

*constructor*

Represents the error reporting callback function.

A ReportProc administrative command is typically passed to generate an error report.

If a process is not completing properly, or taking too long to finish, this process will create an error report in response. At frequent intervals, the method calls ReportProc. If the ReportProc command returns a "true" statement, the method generates an error. If it returns "false," the process continues. The time interval is determined by the ReportProc command.

## Methods

### Call

```csharp
virtual void Datalogics.PDFL.ReportProc.Call(ReportType reportType, string message, string replacementText)
```

**Parameters**

- `reportType` ([`ReportType`](https://docs.datalogics.com/apdfl21/DotNetFramework/APDFL21.0.0PlusP1e/enum/ReportType.md))
- `message` (`string`)
- `replacementText` (`string`)

**Returns:** `void`

### Dispose

```csharp
void Datalogics.PDFL.ReportProc.Dispose()
```

**Returns:** `void`
