ReaderSvgRead Method (String) |
Namespace: Ab2d
public Viewbox Read( string url )
The following sample loads the mySample.svg file and adds it to the myStackPanel.
Viewbox sampleViewbox = Ab2d.ReaderSvg.Instance.Read(@"c:\mySample.svg");
myStackPanel.Children.Add(sampleViewbox);
The following sample loads the mySample.svg file from web site.
Ab2d.ReaderSvg myReaderSvg = new Ab2d.ReaderSvg(); Viewbox sampleViewbox = myReaderSvg.Read(@"http://www.myWeb.com/test/mySample.svg"); myStackPanel.Children.Add(sampleViewbox);