public abstract class AbstractOptimizationHandler extends Object
PdfDocument
.Constructor and Description |
---|
AbstractOptimizationHandler() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
optimizePdf(com.itextpdf.kernel.pdf.PdfDocument document,
OptimizationSession session)
Performs an optimization of the document.
|
protected abstract void optimizePdf(com.itextpdf.kernel.pdf.PdfDocument document, OptimizationSession session)
PdfOptimizer
class.document
- is the PDF document to optimize. Invocation of the method can change the
state of the objectsession
- is an auxiliary object used to support share data between stages of
optimization processCopyright © 1998–2024 iText Group NV. All rights reserved.