Class HtmlRenderer
Namespace: Aspose.Html.Rendering
Assembly: Aspose.HTML.dll (25.2.0)
Represents an HTML document renderer.
[ComVisible(true)]
public class HtmlRenderer : Renderer<htmldocument>, IDisposable
Inheritance
object ← Renderer ← Renderer<htmldocument> ← HtmlRenderer
Implements
Inherited Members
Renderer<htmldocument>.Render(IDevice, HTMLDocument), Renderer<htmldocument>.Render(IDevice, HTMLDocument, TimeSpan), Renderer<htmldocument>.Render(IDevice, HTMLDocument, int), Renderer<htmldocument>.Render(IDevice, params HTMLDocument[]), Renderer<htmldocument>.Render(IDevice, int, params HTMLDocument[]), Renderer<htmldocument>.Render(IDevice, TimeSpan, params HTMLDocument[]), Renderer<htmldocument>.Render(IDevice, CancellationToken, params HTMLDocument[]), Renderer.Dispose(), Renderer.Dispose(bool), object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
HtmlRenderer()
public HtmlRenderer()
Methods
Render(IDevice, TimeSpan, params HTMLDocument[])
Defines method for rendering multiple Aspose.Html.HTMLDocuments into specific Aspose.Html.Rendering.IDevice.
public override void Render(IDevice device, TimeSpan timeout, params HTMLDocument[] sources)
Parameters
device
IDevice
The output device.
timeout
TimeSpan
A System.TimeSpan that represents the number of milliseconds to wait, or a System.TimeSpan that represents -1 millisecond to wait indefinitely.
sources
HTMLDocument[]
The HTML documents to render.
Render(IDevice, CancellationToken, params HTMLDocument[])
Defines a method for rendering multiple Aspose.Html.HTMLDocuments into a specific Aspose.Html.Rendering.IDevice, using a cancellation token to request cancellation of the operation.
public override void Render(IDevice device, CancellationToken cancellationToken, params HTMLDocument[] sources)
Parameters
device
IDevice
The output device.
cancellationToken
CancellationToken
A System.Threading.CancellationToken to observe while waiting for the task to complete.
sources
HTMLDocument[]
The HTML documents to render.
See Also
HTMLDocument </htmldocument></htmldocument></htmldocument></htmldocument></htmldocument></htmldocument></htmldocument></htmldocument>