Class OperationSelectionBox


  • public class OperationSelectionBox
    extends Object
    Selects a specific box of a given page range of a PDF document.
    • Constructor Detail

      • OperationSelectionBox

        public OperationSelectionBox()
    • Method Detail

      • getBox

        @Nullable
        public @Nullable OperationSelectionBox.BoxEnum getBox()
        Used to select the box that should be scaled. * media\\_box = The page's physical dimensions. * crop\\_box = The visible (printable) page area. * bleed\\_box = Untrimmed content position on the page (content dimensions plus trim box). * trim\\_box = Trimmed content position on the page (final content dimensions). * art\\_box = Position for special page content (images).
        Returns:
        box
      • getPages

        @Nullable
        public @Nullable String getPages()
        Used to define the page(s) from which boxes should be removed. 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