**Inheritance:**
java.lang.Object, com.aspose.pdf.artifacts.pagination.PageCollectionExtensions

```
public class PageCollectionExtensions extends Object
```

Represents the extension method for updating header and footer pagination.

## Constructors

| Constructor | Description |
| --- | --- |
| [PageCollectionExtensions](#PageCollectionExtensions--) |  |

## Methods

| Method | Description |
| --- | --- |
| [addBatesNumbering](#addBatesNumbering-com.aspose.pdf.PageCollection-com.aspose.ms.System.Action-) | Adds Bates numbering to each page in the given page collection using the specified action to configure the BatesNArtifact. |
| [addBatesNumbering](#addBatesNumbering-com.aspose.pdf.PageCollection-com.aspose.pdf.BatesNArtifact-) | Adds the specified Bates numbering artifact to each page in the given page collection. |
| [addPagination](#addPagination-com.aspose.pdf.PageCollection-java.util.List-) | Adds the specified pagination artifacts to each page in the given page collection. |
| [addPaginationInternal](#addPaginationInternal-com.aspose.pdf.PageCollection-com.aspose.ms.System.Collections.Generic.List-) |  |
| [deleteBatesNumbering](#deleteBatesNumbering-com.aspose.pdf.PageCollection-) | Deletes all Bates numbering artifacts from each page in the given page collection. |
| [updatePagination](#updatePagination-com.aspose.pdf.PageCollection-) | Updates the header and footer page numbers and dates for all pages. This will work if the document has at least one pagination artifact with special settings data. All pages in the collection will be updated with the source artifact according to its settings. |

### PageCollectionExtensions {#PageCollectionExtensions--}
```
public PageCollectionExtensions()
```



### addBatesNumbering {#addBatesNumbering-com.aspose.pdf.PageCollection-com.aspose.ms.System.Action-}
Adds Bates numbering to each page in the given page collection using the specified action to configure the BatesNArtifact.

### addBatesNumbering {#addBatesNumbering-com.aspose.pdf.PageCollection-com.aspose.pdf.BatesNArtifact-}
Adds the specified Bates numbering artifact to each page in the given page collection.

### addPagination {#addPagination-com.aspose.pdf.PageCollection-java.util.List-}
Adds the specified pagination artifacts to each page in the given page collection.

### addPaginationInternal {#addPaginationInternal-com.aspose.pdf.PageCollection-com.aspose.ms.System.Collections.Generic.List-}


### deleteBatesNumbering {#deleteBatesNumbering-com.aspose.pdf.PageCollection-}
Deletes all Bates numbering artifacts from each page in the given page collection.

### updatePagination {#updatePagination-com.aspose.pdf.PageCollection-}
Updates the header and footer page numbers and dates for all pages. This will work if the document has at least one pagination artifact with special settings data. All pages in the collection will be updated with the source artifact according to its settings.
