Table of Contents

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 Uri

A Uri defining the path to the SVG source.

settings WpfDrawingSettings

This 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 Stream

A stream providing access to the SVG source data.

settings WpfDrawingSettings

This 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 string

A stream providing access to the SVG source data.

settings WpfDrawingSettings

This 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.