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