Table of Contents

Class SvgImageBase

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

This is an abstract implementation of a markup extension that enables the creation of DrawingImage from SVG sources.

public abstract class SvgImageBase : MarkupExtension
Inheritance
SvgImageBase
Derived
Inherited Members

Constructors

SvgImageBase()

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

Fields

_appName
_culture
_includeRuntime
_optimizePath
_textAsGeometry

Properties

AppName

Gets or sets the project or application name of the target assembly.

CultureInfo

Gets or sets the main culture information used for rendering texts.

IncludeRuntime

Gets or sets a value indicating whether the SharpVectors.Runtime.dll classes are used in the generated output.

OptimizePath

Gets or sets a value indicating whether the path geometry is optimized using the StreamGeometry.

TextAsGeometry

Gets or sets a value indicating whether the texts are rendered as path geometry.

Methods

GetAppName()
GetDrawing(Uri)

This converts the SVG resource specified by the Uri to DrawingGroup.

GetEntryAssembly()
GetExecutingAssembly()
GetImage(Uri)

This converts the SVG resource specified by the Uri to DrawingImage.

IsDesignMode(IServiceProvider)