PDFResourceOptimizer Class
Definition
Namespace: O2S.Components.PDF4NET.Core
Provides support for optimizing resource usage in PDF files.
Inheritance: Object → PDFResourceOptimizer
Remarks
Usually resources can be optimized after pages from multiple PDF files have been added to a PDF document.
Constructors
| Name | Description |
|---|---|
| PDFResourceOptimizer(PDFFixedDocument) | Initializes a new PDFResourceOptimizer object with a PDF document. |
| PDFResourceOptimizer(PDFFileEx) | Initializes a new PDFResourceOptimizer object with a PDF file. |
Methods
| Name | Description |
|---|---|
| MergeColorspaces | Scans the file for duplicate colorspaces and merges them. |
| MergeFonts | Scans the file for duplicate fonts and merges them. |
| MergeGraphicsStates | Scans the file for duplicate graphics states and merges them. |
| MergeImages | Scans the file for duplicate images and merges them. |