Click here to Skip to main content
15,896,154 members
Articles / Desktop Programming / WPF

SharpVectors - SVG# Reloaded: An Introduction

Rate me:
Please Sign up or sign in to vote.
4.98/5 (33 votes)
17 Nov 2010BSD10 min read 206K   21.7K   101  
A C# library for converting SVG to WPF and viewing SVG files in WPF Applications
using System;
using System.Xml;

namespace SharpVectors.Dom
{
	public interface IXmlNode
	{
		string Name
		{
			get;
		}
		
		string Value
		{
			get;
			set;
		}
		
		XmlNodeType NodeType
		{
			get;
		}
		
		XmlNode ParentNode
		{
			get;
		}
		
		XmlNodeList ChildNodes
		{
			get;
		}
		
		XmlNode FirstChild
		{
			get;
		}
		
		XmlNode LastChild
		{
			get;
		}
		
		XmlNode PreviousSibling
		{
			get;
		}
		
		XmlNode NextSibling
		{
			get;
		}
		
		XmlAttributeCollection Attributes
		{
			get;
		}
		
		XmlDocument OwnerDocument
		{
			get;
		}
		
		bool HasChildNodes
		{
			get;
		}
		
		string NamespaceURI
		{
			get;
		}
		
		string Prefix
		{
			get;
			set;
		}
		
		string LocalName
		{
			get;
		}
		
		XmlNode InsertBefore(XmlNode newChild, XmlNode refChild);
		
		XmlNode ReplaceChild(XmlNode newChild, XmlNode oldChild);
		
		XmlNode RemoveChild(XmlNode oldChild);
		
		XmlNode AppendChild(XmlNode newChild);
		
		XmlNode CloneNode(bool deep);
		
		void Normalize();
		
		bool Supports(string feature, string version);
	}
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The BSD License


Written By
Engineer
Japan Japan
Systems Engineer

Comments and Discussions