# RolledBackDocument Class

> A class representing a Rolled back instance of a PDF document that was previously saved Incrementally.

- Product: Adobe PDF Library 18
- Language: .NET
- Version: APDFL18.0.5PlusP2e
- HTML page: https://docs.datalogics.com/apdfl18/DotNet/APDFL18.0.5PlusP2e/class/RolledBackDocument
- Version index: https://docs.datalogics.com/apdfl18/DotNet/APDFL18.0.5PlusP2e/llms.txt

```csharp
class RolledBackDocument : SystemIDisposable
```

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

**Inherits from:** `SystemIDisposable`

## Description

A class representing a Rolled back instance of a PDF document that was previously saved Incrementally.

**Referenced by:** [`Document`](https://docs.datalogics.com/apdfl18/DotNet/APDFL18.0.5PlusP2e/class/Document.md), [`RolledBackDocument`](https://docs.datalogics.com/apdfl18/DotNet/APDFL18.0.5PlusP2e/class/RolledBackDocument.md)

**Uses types:** [`RolledBackDocument`](https://docs.datalogics.com/apdfl18/DotNet/APDFL18.0.5PlusP2e/class/RolledBackDocument.md)

## Methods

### CloseDocument

```csharp
void Datalogics.PDFL.RolledBackDocument.CloseDocument()
```

**Returns:** `void`

Closes the rolled-back document and releases its associated file resources.

This closes both the underlying file and the PDF document handle. After calling this method, the object should no longer be used.

### Dispose

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

**Returns:** `void`

### Save

```csharp
void Datalogics.PDFL.RolledBackDocument.Save(string newPath)
```

**Parameters**

- `newPath` (`string`): The file system path where the rolled-back document will be saved.

**Returns:** `void`

Saves the Rolled back document instance using the specified path to disk.

The document is saved in full (non-incremental) mode.
