Dans.SvgPlotting.Library 25.2711.4233

dotnet add package Dans.SvgPlotting.Library --version 25.2711.4233
                    
NuGet\Install-Package Dans.SvgPlotting.Library -Version 25.2711.4233
                    
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="Dans.SvgPlotting.Library" Version="25.2711.4233" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Dans.SvgPlotting.Library" Version="25.2711.4233" />
                    
Directory.Packages.props
<PackageReference Include="Dans.SvgPlotting.Library" />
                    
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 Dans.SvgPlotting.Library --version 25.2711.4233
                    
#r "nuget: Dans.SvgPlotting.Library, 25.2711.4233"
                    
#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.
#addin nuget:?package=Dans.SvgPlotting.Library&version=25.2711.4233
                    
Install as a Cake Addin
#tool nuget:?package=Dans.SvgPlotting.Library&version=25.2711.4233
                    
Install as a Cake Tool

Dan's SVG Plotting Library

An easy-to-use library that brings physical plotting and shape-cutting capabilities to normal SVG image files, without any dependencies on Windows or other similar vendors.

NOTE: In this version, all output is in mm. Please create an issue on the GitHub repository if you would like to be able to choose any other type of measurement unit.

Basic Example:

using System;
using System.IO;

using Html;
using SvgPlotting;

namespace SvgPlottingDemo
{
 public class Program
 {
  public static void Main(string[] args)
  {
   string content = File.ReadAllText(@"C:\Temp\MySvg.svg");
   HtmlDocument doc = new HtmlDocument(content);
   PlotPointPenStatus pen = PlotPointPenStatus.None;
   SvgImageItem svg = new SvgImageItem(doc, 50);

   // Optionally add a trace listener to output library activities to console.
   Trace.Listeners.Add(new ConsoleTraceListener());

   foreach(PlotPointItem plotPointItem in svg.PlotPoints)
   {
    if(plotPointItem.PenStatus != pen)
    {
     Console.WriteLine($"Pen Status: {plotPointItem.PenStatus}");
    }
    switch(plotPointItem.PenStatus)
    {
     case PlotPointPenStatus.PenDown:
      Console.WriteLine($" Line To: {plotPointItem.Point}");
      break;
     case PlotPointPenStatus.PenUp:
      Console.WriteLine($" Move To: {plotPointItem.Point}");
      break;
    }
   }
  }
 }
}

Updates

Version Description
25.2711.4233 Initial public release.

More Information

For more information, please see the GitHub project: danielanywhere/SvgPlotting

Full API documentation is available at this library's GitHub User Page.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos 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
25.2711.4233 32 7/12/2025