com.aspose.html.rendering.image

Class ImageDevice

    • Constructor Detail

      • ImageDevice

        public ImageDevice(ICreateStreamProvider streamProvider)

        Initializes a new instance of the ImageDevice class.

        Parameters:
        streamProvider - The stream provider.
      • ImageDevice

        public ImageDevice(ImageRenderingOptions options,
                           ICreateStreamProvider streamProvider)

        Initializes a new instance of the ImageDevice class by rendering options and stream provider.

        Parameters:
        options - Rendering options.
        streamProvider - Object that implements the ICreateStreamProvider interface
      • ImageDevice

        public ImageDevice(String file)

        Initializes a new instance of the ImageDevice class.

        Parameters:
        file - The output file name.
      • ImageDevice

        public ImageDevice(ImageRenderingOptions options,
                           String file)

        Initializes a new instance of the ImageDevice class by rendering options and output file name.

        Parameters:
        options - Rendering options.
        file - The output file name.
      • ImageDevice

        public ImageDevice(com.aspose.ms.System.IO.Stream stream)

        Initializes a new instance of the ImageDevice class.

        Parameters:
        stream - The stream.
      • ImageDevice

        public ImageDevice(OutputStream outputStream)

        Initializes a new instance of the ImageDevice class.

        Parameters:
        outputStream - The java.io.OutputStream.
      • ImageDevice

        public ImageDevice(ImageRenderingOptions options,
                           com.aspose.ms.System.IO.Stream stream)

        Initializes a new instance of the ImageDevice class by rendering options and output stream.

        Parameters:
        options - Rendering options.
        stream - The output stream.
      • ImageDevice

        public ImageDevice(ImageRenderingOptions options,
                           OutputStream outputStream)

        Initializes a new instance of the ImageDevice class by rendering options and output stream.

        Parameters:
        options - Rendering options.
        outputStream - The java.io.OutputStream.