Class HtmlRenderer
Nazwa przestrzeń: Aspose.Html.Rendering Zestaw: Aspose.HTML.dll (25.4.0)
Przedstawia renderer dokumentów HTML.
[ComVisible(true)]
public class HtmlRenderer : Renderer<htmldocument>, IDisposable
Inheritance
object
←
Renderer
←
Renderer
Implements
Dziedziczeni członkowie
Renderer
Constructors
HtmlRenderer()
public HtmlRenderer()
Methods
Render(IDevice, TimeSpan, parametry HTMLDocument[])
Definuje metodę renderowania wielu Aspose.Html.HTMLDocuments do konkretnych Aspose.Html.Rendering.IDevice.
public override void Render(IDevice device, TimeSpan timeout, params HTMLDocument[] sources)
Parameters
device
IDevice
Urządzenie wyjściowe .
timeout
TimeSpan
System.TimeSpan, który reprezentuje liczbę milisekund oczekiwania, lub System.TimeSpan, który reprezentuje -1 milisekund oczekiwania na czas nieokreślony.
sources
HTMLDocument
[ ]
Dokumentacja HTML do przesyłania.
Render(IDevice, CancellationToken, params HTMLDocument[])
Definuje metodę renderowania wielu Aspose.Html.HTMLDocuments do określonego Aspose.Html.Rendering.IDevice, używając tokenu anulowania do żądania anulowania operacji.
public override void Render(IDevice device, CancellationToken cancellationToken, params HTMLDocument[] sources)
Parameters
device
IDevice
Urządzenie wyjściowe .
cancellationToken
CancellationToken
System.Threading.CancellationToken do obserwacji podczas oczekiwania na zakończenie zadania.
sources
HTMLDocument
[ ]
Dokumentacja HTML do przesyłania.