# RolledBackDocument Class

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

- Product: Adobe PDF Library 21
- Language: .NET Framework
- Version: APDFL21.0.0PlusP1e
- HTML page: https://docs.datalogics.com/apdfl21/DotNetFramework/APDFL21.0.0PlusP1e/class/RolledBackDocument
- Version index: https://docs.datalogics.com/apdfl21/DotNetFramework/APDFL21.0.0PlusP1e/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/apdfl21/DotNetFramework/APDFL21.0.0PlusP1e/class/Document.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.
