Collection
Overview
Collection is a class in Aspose.Pdf FOSS for Java.
Represents the {@code /Collection} entry in a PDF Catalog (ISO 32000-1:2008 §12.3.5 — "Collections", also known as PDF portfolios).
Properties
| Name | Type | Access | Description |
|---|---|---|---|
count | int | Read | Number of items currently in the collection. |
Methods
| Signature | Description |
|---|---|
Collection() | Default empty collection. |
add(fs: FileSpecification) | Adds {@code fs} to the document’s embedded files (a portfolio is, in |
| essence, a list of embedded files marked with a {@code /Collection} | |
| entry on the catalog). | |
getCount() → int | Number of items currently in the collection. |