Class RemoveWithoutDrawingFlattener
- java.lang.Object
-
- com.itextpdf.kernel.utils.annotationsflattening.RemoveWithoutDrawingFlattener
-
- All Implemented Interfaces:
IAnnotationFlattener
public class RemoveWithoutDrawingFlattener extends java.lang.Object implements IAnnotationFlattener
This class is used to Remove annotations without drawing them on the page content stream.
-
-
Constructor Summary
Constructors Constructor Description RemoveWithoutDrawingFlattener()
Creates a newRemoveWithoutDrawingFlattener
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
flatten(PdfAnnotation annotation, PdfPage page)
Flatten annotation.
-
-
-
Constructor Detail
-
RemoveWithoutDrawingFlattener
public RemoveWithoutDrawingFlattener()
Creates a newRemoveWithoutDrawingFlattener
instance.
-
-
Method Detail
-
flatten
public boolean flatten(PdfAnnotation annotation, PdfPage page)
Flatten annotation.- Specified by:
flatten
in interfaceIAnnotationFlattener
- Parameters:
annotation
- annotation to flattenpage
- page to flatten annotation on- Returns:
- true if annotation was flattened, false otherwise
-
-