com.groupdocs.viewer.domain.image

Class PageImage

  • All Implemented Interfaces:
    com.aspose.ms.System.IDisposable


    public class PageImage
    extends Page
    implements com.aspose.ms.System.IDisposable

    Represents a container for page rendered as Image.

    • Constructor Detail

      • PageImage

        public PageImage(int pageNumber,
                 InputStream stream)

        Initializes a new instance of the PageImage class.

        Parameters:
        pageNumber - The page number.
        stream - The stream.
      • PageImage

        public PageImage(int pageNumber)

        Initializes a new instance of the PageImage class.

        Parameters:
        pageNumber - The page number.
    • Method Detail

      • getStream

        public InputStream getStream()

        Page stream.

        Value: The stream.
      • getStreamInternal

        public com.aspose.ms.System.IO.Stream getStreamInternal()
      • setStream

        public void setStream(InputStream value)

        Page stream.

        Value: The stream.
      • setStreamInternal

        public void setStreamInternal(com.aspose.ms.System.IO.Stream value)
      • dispose

        public void dispose()

        Releases resources

        Specified by:
        dispose in interface com.aspose.ms.System.IDisposable