Method CreateDrawing
- Namespace
- SharpVectors.Converters
- Assembly
- SharpVectors.Converters.Wpf.dll
CreateDrawing()
Performs the conversion of a valid SVG source to the DrawingGroup.
protected virtual DrawingGroup CreateDrawing()
Returns
- DrawingGroup
This returns DrawingGroup if successful; otherwise, it returns null.
CreateDrawing(Uri, WpfDrawingSettings)
Performs the conversion of a valid SVG source file to the DrawingGroup.
protected virtual DrawingGroup CreateDrawing(Uri svgSource, WpfDrawingSettings settings)
Parameters
svgSourceUriA Uri defining the path to the SVG source.
settingsWpfDrawingSettingsThis specifies the settings used by the rendering or drawing engine. If this is null, the default settings is used.
Returns
- DrawingGroup
This returns DrawingGroup if successful; otherwise, it returns null.
CreateDrawing(string, WpfDrawingSettings)
Performs the conversion of a valid SVG source stream to the DrawingGroup.
protected virtual DrawingGroup CreateDrawing(string svgSource, WpfDrawingSettings settings)
Parameters
svgSourcestringA stream providing access to the SVG source data.
settingsWpfDrawingSettingsThis specifies the settings used by the rendering or drawing engine. If this is null, the default settings is used.
Returns
- DrawingGroup
This returns DrawingGroup if successful; otherwise, it returns null.