Table of Contents

Class SvgImageConverterExtension

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

This implements a markup extension that enables the creation of DrawingImage from SVG sources.

public sealed class SvgImageConverterExtension : SvgImageBase, IValueConverter
Inheritance
SvgImageConverterExtension
Implements
Inherited Members

Remarks

The SVG source file can be:

  • From the web
  • From the local computer (relative or absolute paths)
  • From the resources.

The rendering settings are provided as properties for customizations.

Constructors

SvgImageConverterExtension()

Initializes a new instance of the SvgImageConverterExtension class with the default parameters.

SvgImageConverterExtension(Uri)

Methods

Convert(object, Type, object, CultureInfo)

Converts a value.

ConvertBack(object, Type, object, CultureInfo)

Converts a value.

ProvideValue(IServiceProvider)

Performs the conversion of a valid SVG source file to the DrawingImage that is set as the value of the target property for this markup extension.