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.

    Version:
    17.5.1
    Author:
    GroupDocs.Viewer Team
    • 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

      • getStreamInternal

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

        getStreamInternal.

        Returns:
        a Stream object.
      • setStreamInternal

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

        setStreamInternal.

        Parameters:
        value - a Stream object.
      • dispose

        public void dispose()

        Releases resources

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