Class 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.
    • Method Detail

      • flatten

        public boolean flatten​(PdfAnnotation annotation,
                               PdfPage page)
        Flatten annotation.
        Specified by:
        flatten in interface IAnnotationFlattener
        Parameters:
        annotation - annotation to flatten
        page - page to flatten annotation on
        Returns:
        true if annotation was flattened, false otherwise