.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

Vector Graphics: Build Flexible, Lightweight XML-Based Images for ASP.NET Using Scalable Vector Grap

Posted By:      Posted Date: August 21, 2010    Points: 0   Category :ASP.Net

Scalable Vector Graphics (SVG), a W3C graphics standard built around XML, is one of several vector graphics technologies that allows fast, lightweight drawings such as charts and graphs to be rendered on the fly in an appropriate viewer. There are many advantages to such vector graphics, including conservation of bandwidth and storage media, and flexibility. This article explains these benefits and shows you how to easily add powerful, dynamic, interactive visual elements to your Web applications.

Dennis Forbes

MSDN Magazine July 2003

View Complete Post

More Related Resource Links

Foundations: Vector Graphics and the WPF Shape Class


The System.Windows.Shapes namespace is Charles Petzold's namespace of choice for rendering two-dimensional vector graphics in WPF. Here he explains why.

Charles Petzold

MSDN Magazine March 2008

Vector Graphics and Link to Excel in WPF

Hi guys

I have been trying to get my head around this problem, googling and trying various ideas, and I just wanted your opinion before I go a totally different direction, using some 3rd party components, since I cant seem to be able to do this.

I have created a WPF .NET4 application, that needs to be able to print Excel Charts and Tables in vector graphics. So you need to be able to copy-paste an Excel Chart or Table, and insert it into the application.

1: Right now I am using a 3rd party component to convert Clipboard data into XAML. This is working quite well, however since this is the only company I can find doing this, I would like to have more options. Does anyone know, how to get Excel Graphs and Tables as Clipboard data into a FlowDocument in vector graphics?

2: In time I would also like to able to link these Excel Charts and Tables to the dataset in Excel, from which they came. I have found some examples showing how to embed Excel into WinForms using COM objects, however how would you get whatever these Excel instances are producing into a FlowDocument?

3: If this is not possible, would any other format (FixedDocument?), make the above possible?

Thank you in advance!

"Oslo" Basics: Build Metadata-Based Applications With The "Oslo" Platform


We introduce you to "Oslo" and demonstrate how MSchema and MGraph enable you to build metadata-driven apps. We'll define types and values in "M" and deploy them to the repository.

Chris Sells

MSDN Magazine February 2009

Transactions: Build Scalable Systems That Handle Failure Without Losing Data


Systems that handle failure without losing data are elusive. Learn how to achieve systems that are both scalable and robust.

Udi Dahan

MSDN Magazine July 2008

VSTO: Build Office-Based Solutions Using WPF, WCF, And LINQ


With Visual Studio Tools for Office you can easily build Office-based services that harness the power of Windows Communication Foundation, Windows Presentation Foundation, and LINQ.

Andrew Whitechapel

MSDN Magazine December 2007

Debugging Tool: Build a Logging and Event Viewing Library to Help Debug Your .NET Framework-based Ap


Building a basic, reusable application framework can make development quicker and easier. This allows you to focus more on the problems at hand and less on the repetitive tasks involved in building any application. In this article, the author presents a framework that provides facilities to access the registry and an extensible framework for logging messages to a console window or the Event Viewer. This reusable framework can be included as a library in your projects, allowing you to display an enhanced, color-coded message log and dynamically change logging levels.

Daryn Kiely

MSDN Magazine May 2003

Bug Tracker: Build a Configurable Web-Based Bug Management Tool Using ADO.NET, XML, and XSLT


One of the most significant features of ADO.NET is its integration with XML. Developers can either use an ADO-like API to access the data or work directly with an XML representation of the data. This article demonstrates how both of these techniques can be used together to create Web applications that take advantage of XML standards such as XSLT. The example presented here is a bug tracking application built using C# and the.NET Framework. The development of the application covers several topics including data access using ADO.NET, the presentation of data using XSLT stylesheets, and the integration of ADO.NET with the .NET XML Framework.

Roy Margolis

MSDN Magazine July 2002

Whistler: Build More Flexible Console Snap-ins with the MMC 2.0 Object Model


Microsoft Management Console (MMC) 2.0 provides a host of exciting new features for MMC users and snap-in developers. The new MMC 2.0 automation object model allows much of the user interface of MMC 2.0 to be accessed through script, and exposes events so that many tasks can now easily be automated. The new view extension model uses HTML to enable extensions to seamlessly integrate new user interfaces with those of existing snap-ins. MMC 2.0 also includes a specific view extension snap-in, the Extended View snap-in, which provides an interface similar to Web folders. Drag and drop support has been expanded, and console files now use the XML file format. Enhancements to console taskpads make it easier to accomplish tasks.

Vivek Jhaveri

MSDN Magazine March 2001

Graphics: Manipulate Digital Images in Internet Explorer with the DirectX Transform SDK


The Microsoft DirectX Transform is a Microsoft DirectX media API that can be used to create animated effects as well as to create and edit digital images for Windows-based applications. Scripting and HTML can be used to display an existing transform on a Web page, and improved transform support in Microsoft Internet Explorer 5.5 makes it easy to use transforms. This article provides step-by-step instructions for writing a transform as an ATL project and shows an example of an image transform. C++ is used to instantiate, configure, and display transforms in this project.

Alex Lerner

MSDN Magazine March 2001

Easiest way to build XML based Menu with Submenu

Hello guys, I need to develop an easy and quickly to build menu structure based on xml. The menu needs to have a "Main" menu at top of the screen and a submenu at the left of the screen. Excactly like this: http://www.enexis.nl/site/over_enexis/ Can someone explain to me where i need to get started and wich control i should use?   Thanks alot! cheers,   Rob 

How to convert raster Image to Vector image format

I want to covert raster image to vector image format in  C#is it possible ??Thanks

What is the recommended format for vector icons in resource dictionary?

It seems that Expression Design wants to export vector graphics in resource dictionary format as DrawingBrushes.  These are a bit of a pain to use in something like a MenuItem.Icon.  So I have been converting the DrawingBrushes to DrawingImages.  The only downside I've run into so far is that I can't figure out how to force the DrawingImage to be a certain size say 20x20 where the content may not take up that whole size.  The issue is that when you put these vector icons on a toolbar and you want the images to align, it is tricky when each icon is a slightly different height.

Dynamically display images based on a variable - JavaScript

I am trying to bring in a specific image based on a variable brought into the page with a querystring. I initially thought having an array with the image's URL in it would work, but I am having problems associating the array index with the variable. Any help with this would be greatly appreciated. Dave 

Drawing and saving a vector image (emf/wmf or anything MSWord/PPT can read)


Hi! I've been tasked with generating graphs of data as images for the purpose of importing into MS Word documents and Powerpoint presentations.

I've done it using GIF images, but I'd really like to use a vector format, so they can be scaled in the document without losing quality, and of course keeping the document size down as there's lots of them.

MS Word and Powerpoint can import EMF, WMF and CGM formats, but I have no idea how to generate those in .NET.

Does anyone have some pointers for me to get started creating say EMF files from .NET?  I've looked all over the net and can't find much at all about it... I've gathered it's a job for GDI+, but can't find sample code or anything for .NET.

Many thanks!

How to add images to Announcement based news items?



I'm currently working on an Intranet project where we're creating a news site (among many sites). Initially we moved towards a publishing site for this particular issue, using the Article Page content type. However, this was not a suitable approach (really rejected by end users) considering their skills and background. Therefore we went with the Announcement based approach. This is fine (end users' are happy) and we've customized a bunch of things (like itemstyle, forms, and whatnot).

Now we would like to add images to the news articles. We're using the CQWP to display the news items. Really, we would like to add an image to each news item. In the list view we would display a small picture and for a particular item display the image in full in the upper left corner of the "article". The problem is how to add the image to the a news item, or add a relationship between lists/libraries to achieve the behavior of an image as a part of a news item from the end users' perspective. I've looked at the possibility of converting the list to a document library but I simply cannot achieve the same column type functionality in that case (e.g, cannot set the "Enhanced rich text (Rich text with pictures, tables, and hyperlinks)" option for the Multiple lines

is there a way to build control lightweight

is There a way to buil programmatically controls  stripped of any default eventhandlers etc etc etc to make light to build?

Task-Based Programming: Scalable Multithreaded Programming with Tasks


Getting the most out of multicore systems means diving head-first into multithreaded programming. Ron Fosner follows up on his previous article by introducing you to a more sophisticated multithreading technique called task-based programming.

Ron Fosner

MSDN Magazine November 2010

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend