OCCSVG.NET 1.0.1-alpha3

This is a prerelease version of OCCSVG.NET.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package OCCSVG.NET --version 1.0.1-alpha3
                    
NuGet\Install-Package OCCSVG.NET -Version 1.0.1-alpha3
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="OCCSVG.NET" Version="1.0.1-alpha3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="OCCSVG.NET" Version="1.0.1-alpha3" />
                    
Directory.Packages.props
<PackageReference Include="OCCSVG.NET" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add OCCSVG.NET --version 1.0.1-alpha3
                    
#r "nuget: OCCSVG.NET, 1.0.1-alpha3"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package OCCSVG.NET@1.0.1-alpha3
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=OCCSVG.NET&version=1.0.1-alpha3&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=OCCSVG.NET&version=1.0.1-alpha3&prerelease
                    
Install as a Cake Tool

Welcome to OCCSVG.NET

OCCSVG.NET is a library designed for reading SVG files (Scalable Vector Graphic), accurately interpreting shapes, including their strokes, fills, and other properties. The package is designed to import various SVG elements into a .NET application. It supports most types of gradients, patterns, which gives designers the freedom to define their drawings in almost any vector drawing application and save them into SVG file. Application developers can then use these drawings in their .NET applications.

OCCSVGViewer is a DEMO 3D-Viewer built on Occt.NET (7.9.0). The demo is available on the GitHub: https://github.com/RabihKaddour/OCCSVGViewer, It uses the OCCSVG NuGet package developed by Dr.-Ing. Rabih Kaddour to read, interpret, and render SVG files. The package is designed to import various SVG elements into a .NET application. The OCCSVGViewer application also displays also the topology of the SVG model and its elements in a TreeView.

The OCCSVG NuGet package is built upon several key technologies: .Net, C#, C++/CLI. It also uses Occt.NET (version 7.9.0), which is based on Open CASCADE Technology (OCCT), is available from: https://www.nuget.org/packages/Occt.NET. OCCSVG can accurately read shapes defined in SVG files, including their strokes, fills, and other properties. It supports most types of gradients, patterns, which gives designers the freedom to define their drawings in almost any vector drawing application and save them into SVG file.

Development requirements

• Microsoft Visual Studio Professional 2022 (64-bit) o .Net Desktop workload o .Net 8 support component o C++/CLI support component

Unsupported Features:

• Reading marker elements (e.g., line starting and ending shapes) • Reading clipPath and mask elements • Reading Text on Path • Reading image is not currently supported

Product Compatible and additional computed target framework versions.
.NET net8.0-windows7.0 is compatible.  net9.0-windows was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.1-beta1 114 9/28/2025
1.0.1-alpha4 224 9/15/2025
1.0.1-alpha3 114 9/14/2025