Class PageImage

  • public class PageImage
    extends Object

    Represents the image of a Page

    • Constructor Detail

      • PageImage

        public PageImage(int pageNumber,
                 InputStream pageStream)

        Initialize an instance of PageImage class

        pageNumber - Page Number
        pageStream - Page Stream
    • Method Detail

      • getHeight

        public int getHeight()

        Get the page Height

      • getPageNumber

        public final int getPageNumber()

        Get or Set the Page Number

      • getPageStream

        public final InputStream getPageStream()

        Get or Set the stream of a page

      • getWidth

        public int getWidth()

        Get the page Width

      • setHeight

        public void setHeight(int height)
      • setPageNumber

        public final void setPageNumber(int value)

        Get or Set the Page Number

      • setPageStream

        public final void setPageStream(InputStream value)

        Get or Set the stream of a page

      • setWidth

        public void setWidth(int width)