Class SvgRenderer
Nazwa przestrzeń: Aspose.Html.Rendering Zestaw: Aspose.HTML.dll (25.4.0)
Przedstawia SVG dokument renderer.
[ComVisible(true)]
public class SvgRenderer : Renderer<svgdocument>, IDisposable
Inheritance
object
←
Renderer
←
Renderer
Implements
Dziedziczeni członkowie
Renderer
Constructors
SvgRenderer()
public SvgRenderer()
Methods
Render(IDevice, TimeSpan, params SVGDocument[])
Definuje metodę renderowania wielu dokumentów Aspose.Html.Dom.Svg.SVGD do konkretnych Aspose.Html.Rendering.IDevice.
public override void Render(IDevice device, TimeSpan timeout, params SVGDocument[] 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
SVGDocument
[ ]
Dokumenty SVG do przekazania.
Render(IDevice, CancellationToken, params SVGDocument[])
Definuje metodę renderowania wielu dokumentów Aspose.Html.Dom.Svg.SVGD 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 SVGDocument[] sources)
Parameters
device
IDevice
Urządzenie wyjściowe .
cancellationToken
CancellationToken
To jest token anulowania, który należy obserwować podczas oczekiwania na zakończenie zadania.
sources
SVGDocument
[ ]
Dokumenty SVG do przekazania.