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
svgSource
UriA Uri defining the path to the SVG source.
settings
WpfDrawingSettingsThis 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(Stream, WpfDrawingSettings)
Performs the conversion of a valid SVG source stream to the DrawingGroup.
protected virtual DrawingGroup CreateDrawing(Stream svgStream, WpfDrawingSettings settings)
Parameters
svgStream
StreamA stream providing access to the SVG source data.
settings
WpfDrawingSettingsThis 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
svgSource
stringA stream providing access to the SVG source data.
settings
WpfDrawingSettingsThis 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.