com.aspose.html.rendering

Class EpubRenderer

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


    public class EpubRenderer
    extends Renderer<com.aspose.html.internal.ms.System.IO.Stream>

    Represents a EPub document renderer.

    • Constructor Summary

      Constructors 
      Constructor and Description
      EpubRenderer() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void render(IDevice device, com.aspose.html.internal.ms.System.IO.Stream[] documents, Configuration configuration)
      Renders multiple EPub documents into specified IDevice.
      void render(IDevice device, com.aspose.html.internal.ms.System.IO.Stream[] documents, Configuration configuration, com.aspose.html.internal.ms.System.TimeSpan timeout)
      Renders multiple EPub documents into specified IDevice.
      void render(IDevice device, com.aspose.html.internal.ms.System.IO.Stream document, Configuration configuration)
      Renders EPub document into specified IDevice.
      void render(IDevice device, com.aspose.html.internal.ms.System.IO.Stream document, Configuration configuration, com.aspose.html.internal.ms.System.TimeSpan timeout)
      Renders EPub document into specified IDevice.
      void render(IDevice device, com.aspose.html.internal.ms.System.TimeSpan timeout, com.aspose.html.internal.ms.System.IO.Stream document)
      Defines method for rendering EPub Stream into specific IDevice.
      void render(IDevice device, com.aspose.html.internal.ms.System.TimeSpan timeout, com.aspose.html.internal.ms.System.IO.Stream[] documents)
      Defines method for rendering multiple EPub Streams into specific IDevice.
      • Methods inherited from class com.aspose.html.rendering.RendererBase

        dispose, validatePageSetup
    • Constructor Detail

      • EpubRenderer

        public EpubRenderer()
    • Method Detail

      • render

        public void render(IDevice device,
                           com.aspose.html.internal.ms.System.TimeSpan timeout,
                           com.aspose.html.internal.ms.System.IO.Stream[] documents)

        Defines method for rendering multiple EPub Streams into specific IDevice. The rendering will be performed once there are no any network operations for loading resources, active timers, animation tasks or specified timeout is elapsed.

        Specified by:
        render in class Renderer<com.aspose.html.internal.ms.System.IO.Stream>
        Parameters:
        device - The output device.
        timeout - A TimeSpan that represents the number of milliseconds to wait, or a TimeSpan that represents -1 millisecond to wait indefinitely.
        documents - The documents to render.
      • render

        public void render(IDevice device,
                           com.aspose.html.internal.ms.System.TimeSpan timeout,
                           com.aspose.html.internal.ms.System.IO.Stream document)

        Defines method for rendering EPub Stream into specific IDevice. The rendering will be performed once there are no any network operations for loading resources, active timers, animation tasks or specified timeout is elapsed.

        Specified by:
        render in class Renderer<com.aspose.html.internal.ms.System.IO.Stream>
        Parameters:
        device - The output device.
        timeout - A TimeSpan that represents the number of milliseconds to wait, or a TimeSpan that represents -1 millisecond to wait indefinitely.
        document - The documents to render.
      • render

        public void render(IDevice device,
                           com.aspose.html.internal.ms.System.IO.Stream document,
                           Configuration configuration)

        Renders EPub document into specified IDevice.

        Parameters:
        device - The device.
        document - The document.
        configuration - The configuration.
      • render

        public void render(IDevice device,
                           com.aspose.html.internal.ms.System.IO.Stream document,
                           Configuration configuration,
                           com.aspose.html.internal.ms.System.TimeSpan timeout)

        Renders EPub document into specified IDevice. The rendering will be performed once there are no any network operations for loading resources, active timers, animation tasks or specified timeout is elapsed.

        Parameters:
        device - The device.
        document - The document.
        configuration - The configuration.
        timeout - A TimeSpan that represents the number of milliseconds to wait, or a TimeSpan that represents -1 millisecond to wait indefinitely.
      • render

        public void render(IDevice device,
                           com.aspose.html.internal.ms.System.IO.Stream[] documents,
                           Configuration configuration)

        Renders multiple EPub documents into specified IDevice.

        Parameters:
        device - The device.
        documents - The IList{Stream} of documents to render.
        configuration - The configuration.
      • render

        public void render(IDevice device,
                           com.aspose.html.internal.ms.System.IO.Stream[] documents,
                           Configuration configuration,
                           com.aspose.html.internal.ms.System.TimeSpan timeout)

        Renders multiple EPub documents into specified IDevice. The rendering will be performed once there are no any network operations for loading resources, active timers, animation tasks or specified timeout is elapsed.

        Parameters:
        device - The device.
        documents - The IList{Stream} of documents to render.
        configuration - The configuration.
        timeout - A TimeSpan that represents the number of milliseconds to wait, or a TimeSpan that represents -1 millisecond to wait indefinitely.