com.groupdocs.merger.domain.image

Class Page

  • Direct Known Subclasses:
    PageImage


    public abstract class Page
    extends Object

    Represents a container for the page.

    • Constructor Detail

      • Page

        protected Page(int pageNumber)

        Initializes a new instance of the Page class.

        Parameters:
        pageNumber - The page number.
      • Page

        protected Page(int pageNumber,
            InputStream stream)

        Initializes a new instance of the Page class.

        Parameters:
        pageNumber - The page number.
        stream - The document stream.
    • Method Detail

      • getDocumentStream

        public final InputStream getDocumentStream()

        Stream with image of document page.

      • getPageNumber

        public final int getPageNumber()

        Page number from original document. Starts from 1.

      • setDocumentStream

        public final void setDocumentStream(InputStream value)

        Stream with image of document page.