Table of Contents

Class SvgBitmap

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

This is an extension of the WPF Image control to provide SVG-based image sources.

public class SvgBitmap : Image, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IUriContext
Inheritance
SvgBitmap
Implements
Derived
Inherited Members

Constructors

SvgBitmap()

Initializes a new instance of the SvgBitmap class.

Fields

AppNameProperty

The DependencyProperty for the AppName property.

SvgSourceProperty

Identifies the SvgSource dependency property.

UriSourceProperty

Identifies the UriSource dependency property.

Properties

AppName

Gets or sets the name of the parent assembly for this element.

SvgSource

Gets or sets the SVG contents to load into this SvgBitmap.

UriSource

Gets or sets the path to the SVG file to load into this SvgBitmap.

Methods

CreateDrawing()

Performs the conversion of a valid SVG source to the DrawingGroup.

CreateDrawing(string, WpfDrawingSettings)

Performs the conversion of a valid SVG source stream to the DrawingGroup.

CreateDrawing(Uri, WpfDrawingSettings)

Performs the conversion of a valid SVG source file to the DrawingGroup.

GetDrawingSettings()
OnInitialized(EventArgs)

Raises the Initialized event. This method is invoked whenever IsInitialized is set to true.

OnLoadDrawing(DrawingGroup)
OnSettingsChanged()

This handles changes in the rendering settings of this control.

OnUnloadDiagram()

See Also