SharpVectors 1.8.0

.NET 5.0 .NET Core 3.1 .NET Framework 4.0
Install-Package SharpVectors -Version 1.8.0
dotnet add package SharpVectors --version 1.8.0
<PackageReference Include="SharpVectors" Version="1.8.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SharpVectors --version 1.8.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: SharpVectors, 1.8.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install SharpVectors as a Cake Addin
#addin nuget:?package=SharpVectors&version=1.8.0

// Install SharpVectors as a Cake Tool
#tool nuget:?package=SharpVectors&version=1.8.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.


This project provides a C# library for parsing, converting and viewing the SVG files in WPF applications.

More documentation is available at the ShapeVectors Github Pages.

Key Features

  • Parsing of the SVG files to create the SVG DOM
  • SVG to XAML conversion
  • A small runtime library to handle font URI, embedded images and others when using the XAML files directly from disk.
  • An optimized XAML output.
  • Interaction with the conversion process (by a visitor pattern) to allow for custom hyper-link implementations, font substitutions etc.
  • Supports .NET Framework 4+, .NET Core, and .NET 6.0

Main Components

The library consists of several components as listed below and there is no dependency on external components:

  • SharpVectors.Core.dll (SVG interfaces and basic types)
  • SharpVectors.Css.dll (CSS interfaces and types)
  • SharpVectors.Dom.dll (SVG DOM, integrates CSS DOM)
  • SharpVectors.Model.dll (SVG model, parsing and utility classes)
  • SharpVectors.Rendering.Gdi.dll (GDI+ rendering of the SVG Model - requires more work)
  • SharpVectors.Runtime.Wpf.dll (An independent component with scroling/zooming panels for viewing rendered XAML)
  • SharpVectors.Rendering.Wpf.dll (WPF rendering of the SVG Model)
  • SharpVectors.Converters.Wpf.dll (Utitlity classes providing access to the WPF rendering features)


SharpVectors uses source codes from articles and other open source projects. We wish to acknowledge and thank the authors of these great articles and projects

Related Packages


SharpVectors is released as open source under the BSD-3-Clause license, and the Third-Party licences

Product Versions
.NET net5.0 net5.0-windows net5.0-windows7.0 net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net6.0-windows7.0
.NET Core netcoreapp3.1
.NET Framework net40 net403 net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
  • .NETCoreApp 3.1

    • No dependencies.
  • .NETFramework 4.0

    • No dependencies.
  • .NETFramework 4.5

    • No dependencies.
  • .NETFramework 4.6

    • No dependencies.
  • .NETFramework 4.7

    • No dependencies.
  • .NETFramework 4.8

    • No dependencies.
  • net5.0-windows7.0

    • No dependencies.
  • net6.0-windows7.0

    • No dependencies.

NuGet packages (8)

Showing the top 5 NuGet packages that depend on SharpVectors:

Package Downloads

Package Description




Package description


Auth module for FrontDesk



GitHub repositories (9)

Showing the top 5 popular GitHub repositories that depend on SharpVectors:

Repository Stars
OptiKey - Full computer control and speech with your eyes
:mag: Quick file search & app launcher for Windows with community-made plugins
Capture of the local Among Us executable state
Flash浏览器 / Flash Browser
A Swift, Multi-Tabbed, Modern UI and Humanized File Explorer.
Version Downloads Last updated
1.8.0 3,775 7/11/2022
1.7.7 42,973 12/12/2021
1.7.6 26,860 8/2/2021
1.7.5 12,083 6/5/2021
1.7.1 53,318 11/25/2020
1.7.0 2,996 11/16/2020
1.0.0 214,078 3/9/2013

Release 1.8.0
         * WPF: ResourceSvgConverter - An SVG converter to handle conversion of SVG files to ResourceDictionary XAML.
         * WPF: Improvements in the XmlXamlWriter.
         * WPF: A new SharpVectors.Wpf Nuget package for WPF applications.
         * Improvements in the documentation site using Github Pages.
         * Several bug fixes and code improvements.