Class OperationClearToolboxAnnotation


  • public class OperationClearToolboxAnnotation
    extends Object
    Used to remove the annotations of the selected pages.
    • Constructor Detail

      • OperationClearToolboxAnnotation

        public OperationClearToolboxAnnotation()
    • Method Detail

      • getFlatten

        @Nullable
        public @Nullable Boolean getFlatten()
        Set to true to flatten annotations of the selected pages. **Important:** flattening means, the interactive annotation objects will be removed and only their visual representation will remain in the page content of the resulting document.
        Returns:
        flatten
      • setFlatten

        public void setFlatten​(Boolean flatten)
      • getPages

        @Nullable
        public @Nullable String getPages()
        Defines which page(s) annotations shall be removed from. The page number can be an individual page, a page range, or a list (separated with commas) (e.g., \"1,5-6,9\"). To specify \"all pages,\" use an asterisk (\"\\*\").
        Returns:
        pages
      • setPages

        public void setPages​(String pages)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object