Class PDFAnnotation

    • Constructor Detail

      • PDFAnnotation

        public PDFAnnotation​(RMRect aRect)
        Creates a new annotation for the given rect.
    • Method Detail

      • setType

        public void setType​(java.lang.String s)
        Sets the type of the annotation.
      • setHighlightMode

        public void setHighlightMode​(char h)
        Sets the highlight mode of the annotaiton.
      • setHasBorder

        public void setHasBorder​(boolean b)
        Sets whether the annotation has a border.
      • resolvePageReferences

        public void resolvePageReferences​(PDFPagesTree pages,
                                          PDFXTable xref,
                                          PDFPage thisPage)
        Tells the annotation to resolve page references.
      • writePDF

        public void writePDF​(PDFFile pFile)
        Writes the annotation to the given PDF file.