Class AnnotationCheckUtil

java.lang.Object
com.itextpdf.pdfua.checkers.utils.AnnotationCheckUtil

public final class AnnotationCheckUtil extends Object
Class that provides methods for checking PDF/UA compliance of annotations.
  • Method Details

    • isAnnotationVisible

      public static boolean isAnnotationVisible (PdfDictionary annotDict)
      Is annotation visible: true if hidden flag isn't set and annotation intersects CropBox (default value is MediaBox).
      Parameters:
      annotDict - annotation to check
      Returns:
      true if annotation should be checked, otherwise false