com.aspose.html.rendering

Class HtmlRenderer

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


    public class HtmlRenderer
    extends Renderer<Document>

    Represents an HTML document renderer.

    See Also:
    Document
    • Constructor Detail

      • HtmlRenderer

        public HtmlRenderer()
    • Method Detail

      • render

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

        Defines method for rendering multiple Documents 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<Document>
        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,
                           Document document)

        Defines method for rendering multiple Documents 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<Document>
        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 document to render.