**Inheritance:**
java.lang.Object, com.aspose.pdf.DocumentActionCollection

```
public final class DocumentActionCollection extends Object
```

Class describes actions performed on some actions with document

## Constructors

| Constructor | Description |
| --- | --- |
| [DocumentActionCollection](#DocumentActionCollection-com.aspose.pdf.IDocument-) | Constructor for DocumentActionCollection. Constructs DocumentActionCollection objects from Pdf.Kit.Engine Document object. |

## Methods

| Method | Description |
| --- | --- |
| [getAfterPrinting](#getAfterPrinting--) | Action that will be performed after document printing. |
| [getAfterSaving](#getAfterSaving--) | Gets action that will be performed after document saving. |
| [getBeforeClosing](#getBeforeClosing--) | Gets action that will be performed before documetn closing. |
| [getBeforePrinting](#getBeforePrinting--) | Action that will be performed before document printing. |
| [getBeforeSaving](#getBeforeSaving--) | Gets action performed before document saving. |
| [setAfterPrinting](#setAfterPrinting-com.aspose.pdf.PdfAction-) | Action that will be performed after document printing. |
| [setAfterSaving](#setAfterSaving-com.aspose.pdf.PdfAction-) | Sets action that will be performed after document saving. |
| [setBeforeClosing](#setBeforeClosing-com.aspose.pdf.PdfAction-) | Sets action that will be performed before documetn closing. |
| [setBeforePrinting](#setBeforePrinting-com.aspose.pdf.PdfAction-) | Action that will be performed before document printing. |
| [setBeforeSaving](#setBeforeSaving-com.aspose.pdf.PdfAction-) | Sets action performed before document saving. |

### DocumentActionCollection {#DocumentActionCollection-com.aspose.pdf.IDocument-}
Constructor for DocumentActionCollection. Constructs DocumentActionCollection objects from Pdf.Kit.Engine Document object.

### getAfterPrinting {#getAfterPrinting--}
```
public PdfAction getAfterPrinting()
```

Action that will be performed after document printing.

**Returns:**
PdfAction after printing

### getAfterSaving {#getAfterSaving--}
```
public PdfAction getAfterSaving()
```

Gets action that will be performed after document saving.

**Returns:**
PdfAction object

### getBeforeClosing {#getBeforeClosing--}
```
public PdfAction getBeforeClosing()
```

Gets action that will be performed before documetn closing.

**Returns:**
PdfAction object

### getBeforePrinting {#getBeforePrinting--}
```
public PdfAction getBeforePrinting()
```

Action that will be performed before document printing.

**Returns:**
PdfAction before printing

### getBeforeSaving {#getBeforeSaving--}
```
public PdfAction getBeforeSaving()
```

Gets action performed before document saving.

**Returns:**
PdfAction object

### setAfterPrinting {#setAfterPrinting-com.aspose.pdf.PdfAction-}
Action that will be performed after document printing.

### setAfterSaving {#setAfterSaving-com.aspose.pdf.PdfAction-}
Sets action that will be performed after document saving.

### setBeforeClosing {#setBeforeClosing-com.aspose.pdf.PdfAction-}
Sets action that will be performed before documetn closing.

### setBeforePrinting {#setBeforePrinting-com.aspose.pdf.PdfAction-}
Action that will be performed before document printing.

### setBeforeSaving {#setBeforeSaving-com.aspose.pdf.PdfAction-}
Sets action performed before document saving.
