March 08, 2005

Multiple ways to add SVG streams in .NET

The following are some of the ways to add SVG objects in a .NET application. In fact, the first two methods can be applied to plain old html files. When using aspx to generate SVG streams, make sure the stream starts with SVG data.

Embedding an svg object in HTML:
<embed name="svg" pluginspage="" src="graph.svg" width="600" height="320" type="image/svg+xml">

Using ASPX to generate svg stream:
<object codebase="" type="image/svg+xml" height="320" width="600" data="graph.aspx" name="svg>

Another way of using ASPX to generate svg stream:
<asp:image id="svg" height="450" width="450" imageurl="graph.aspx" runat="server">


Blogger Online Pharmacy said...

Buy Generic Cialis Online For Full Customer Satisfaction. Order Cheap Cialis Prescription or Buy Tadalafil at the Best Prices from
Online Pharmacy | Buy Viagra | Buy Tramadol | Buy Cialis | Buy Fioricet | Buy Ultram | Buy Soma | Buy Tamiflu | Buy Levitra

December 4, 2009 at 6:07 AM  

Post a Comment

<< Home