Table of Contents

Class SvgConverter

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

This is the abstract base class for all SVG to WPF converters.

public abstract class SvgConverter : DependencyObject, IDisposable
Inheritance
SvgConverter
Implements
Derived
Inherited Members

Constructors

SvgConverter()

Initializes a new instance of the SvgConverter class with the default parameters and settings.

SvgConverter(WpfDrawingSettings)

Initializes a new instance of the SvgConverter class with the specified drawing or rendering settings.

SvgConverter(bool, bool, WpfDrawingSettings)

Initializes a new instance of the SvgConverter class with the specified drawing or rendering settings and the saving options.

Fields

BackupExt
CompressedSvgExt
CompressedXamlExt
SvgExt
XamlExt
_background
_dpiX
_dpiY
_isEmbedded
_saveXaml
_saveZaml
_useFrameXamlWriter
_wpfRenderer
_wpfSettings
_wpfWindow

Required designer variable.

Properties

Background

Gets or sets a brush that describes the background of a image.

DpiX

Gets the horizontal dots per inch (dpi) of the static image.

DpiY

Gets the vertical dots per inch (dpi) of the static image.

DrawingSettings

Gets the settings used by the rendering or drawing engine.

SaveXaml

Gets or sets a value indicating whether to save the conversion output to the XAML file.

SaveZaml

Gets or sets a value indicating whether to save the conversion output to the ZAML file.

SvgDocument

Gets the current SVG Document created by this converter.

SvgWindow

Gets the SVG Window object created by this converter.

UseFrameXamlWriter

Gets or sets a value indicating whether to use the .NET framework version of the XAML writer.

Methods

BeginProcessing(WpfDrawingDocument)
Dispose()

This releases all resources used by the SvgConverter object.

Dispose(bool)

This releases the unmanaged resources used by the SvgConverter and optionally releases the managed resources.

EndProcessing()
~SvgConverter()

This allows a converter to attempt to free resources and perform other cleanup operations before the converter is reclaimed by garbage collection.

GetBitmapEncoder(ImageEncoderType)
GetImageFileExtention(ImageEncoderType)