Click here to Skip to main content
15,885,546 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 204.6K   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 IXmlElement : INode
	{
		bool HasAttributes
		{
			get;
		}
		
		string GetAttribute(string name);
		
		void SetAttribute(string name, string value);
		
		void RemoveAttribute(string name);
		
		XmlAttribute GetAttributeNode(string name);
		
		XmlAttribute SetAttributeNode(XmlAttribute newAttr);
		
		XmlAttribute RemoveAttributeNode(XmlAttribute oldAttr);
		
		XmlNodeList GetElementsByTagName(string name);
		
		// level 2 calls
		string GetAttribute(string localName, string namespaceURI);
		
		string SetAttribute(string qualifiedName, string namespaceURI, string value);
		
		void RemoveAttribute(string localName, string namespaceURI);
		
		XmlAttribute GetAttributeNode(string localName,	string namespaceURI);
		
		XmlNodeList GetElementsByTagName(string localName, string namespaceURI);
		
		bool HasAttribute(string name);
		
		bool HasAttribute(string localName, string namespaceURI);
	}
}

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