Class AnnotationManager

    • Method Detail

      • addTextAnnotation

        public void addTextAnnotation​(AnnotationOptions options,
                                      int pageIndex)
        Adds an annotation to a page of this InternalPdfDocument
        Parameters:
        options - The annotation options as a AnnotationOptions object.
        pageIndex - Index of the page to add the annotation. The first page has a PageIndex of 0
      • getAnnotationCount

        public int getAnnotationCount​(int pageIndex)
        Retrieves the number of annotations contained on the specified page
        Parameters:
        pageIndex - Index of the page to get the annotation. The first page has a PageIndex of 0
        Returns:
        Number of annotations contained on the page