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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanflatten(PdfAnnotation annotation, PdfPage page) Flatten annotation.
-
Constructor Details
-
RemoveWithoutDrawingFlattener
public RemoveWithoutDrawingFlattener()Creates a newRemoveWithoutDrawingFlattenerinstance.
-
-
Method Details
-
flatten
Flatten annotation.- Specified by:
flattenin interfaceIAnnotationFlattener- Parameters:
annotation- annotation to flattenpage- page to flatten annotation on- Returns:
- true if annotation was flattened, false otherwise
-