Class RemoveWithoutDrawingFlattener

java.lang.Object
com.itextpdf.kernel.utils.annotationsflattening.RemoveWithoutDrawingFlattener
All Implemented Interfaces:
IAnnotationFlattener

public class RemoveWithoutDrawingFlattener extends Object implements IAnnotationFlattener
This class is used to Remove annotations without drawing them on the page content stream.
  • Constructor Details

  • Method Details

    • 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