Class SvgRenderer
名称: Aspose.Html.Rendering 编辑: Aspose.HTML.dll (25.4.0)
代表 SVG 文档 renderer。
[ComVisible(true)]
public class SvgRenderer : Renderer<svgdocument>, IDisposable
Inheritance
object
←
Renderer
←
Renderer
Implements
继承人
Renderer
Constructors
SvgRenderer()
public SvgRenderer()
Methods
Render(IDevice, TimeSpan, params SVGDocument[])
定义多种 Aspose.Html.Dom.Svg.SVGD文件转换为特定 Aspose.Html.Rendering.IDevice 的方法。
public override void Render(IDevice device, TimeSpan timeout, params SVGDocument[] sources)
Parameters
device
IDevice
输出设备。
timeout
TimeSpan
一个 System.TimeSpan 代表等待数毫秒,或一个 System.TimeSpan 代表 -1 毫秒等待无限。
sources
SVGDocument
( )
SVG文件要提交。
Render(IDevice, CancellationToken, params SVGDocument[])
定义一个方法,以将多个 Aspose.Html.Dom.Svg.SVGD文件转换为一个特定的 Aspose.Html.Rendering.IDevice,使用取消标志要求取消操作。
public override void Render(IDevice device, CancellationToken cancellationToken, params SVGDocument[] sources)
Parameters
device
IDevice
输出设备。
cancellationToken
CancellationToken
一个取消标志要观察,等待任务完成。
sources
SVGDocument
( )
SVG文件要提交。