ISVGElementRendererService.Render

Render(ISVGDeviceContext, CancellationToken, Viewport, params SVGElement[])

Renders the specified SVG elements onto the device context using the provided viewport.

public void Render(ISVGDeviceContext deviceContext, CancellationToken cancellationToken, 
    Viewport viewport, params SVGElement[] elements)
ParameterTypeDescription
deviceContextISVGDeviceContextThe device context to render onto. See ISVGDeviceContext.
cancellationTokenCancellationTokenThe cancellation token to observe for cancellation requests.
viewportViewportThe viewport for rendering the elements. See Viewport.
elementsSVGElement[]The SVG elements to render. See SVGElement.

See Also


Render(ISVGDeviceContext, CancellationToken, ISVGPropertyResolvingContext, params SVGElement[])

Renders the specified SVG elements onto the device context using the provided property resolving context.

public void Render(ISVGDeviceContext deviceContext, CancellationToken cancellationToken, 
    ISVGPropertyResolvingContext propertyResolvingContext, params SVGElement[] elements)
ParameterTypeDescription
deviceContextISVGDeviceContextThe device context to render onto. See ISVGDeviceContext.
cancellationTokenCancellationTokenThe cancellation token to observe for cancellation requests.
propertyResolvingContextISVGPropertyResolvingContextThe property resolving context for rendering the elements. See ISVGPropertyResolvingContext.
elementsSVGElement[]The SVG elements to render. See SVGElement.

See Also