Class PageRange

    • Field Detail

      • ALL_PAGES

        public static final PageRange ALL_PAGES
        The default range to convert all pages of a document
    • Constructor Detail

      • PageRange

        public PageRange​(int firstPageIndex,
                         int lastPageIndex)
        Create a new PageRange object.
        Parameters:
        firstPageIndex - index of the first page to convert (1-based). Value must be > 1.
        lastPageIndex - index of the last page to convert (1-based). Value must be ≥ firstPageIndex.
    • Method Detail

      • getFirstPageIndex

        public int getFirstPageIndex()
        Returns:
        Index of the first page to convert (1-based).
      • getLastPageIndex

        public int getLastPageIndex()
        Returns:
        Index of the last page to convert (1-based).
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object