Table of Contents

Method GetImage

Namespace
SharpVectors.Converters
Assembly
SharpVectors.Converters.Wpf.dll

GetImage(Uri)

This converts the SVG resource specified by the Uri to DrawingImage.

protected virtual DrawingImage GetImage(Uri svgSource)

Parameters

svgSource Uri

A Uri specifying the source of the SVG resource.

Returns

DrawingImage

A DrawingImage of the converted SVG resource.

Remarks

This uses the GetDrawing(Uri) method to convert the SVG resource to DrawingGroup, which is then wrapped in DrawingImage.