C# Class Svg2Xaml.SvgReader

Provides methods to read (and render) SVG documents.
显示文件 Open project: jogibear9988/svg2xaml Class Usage Examples

Public Methods

Method Description
Load ( Stream stream ) : System.Windows.Media.DrawingImage

Loads an SVG document and renders it into a DrawingImage.

Load ( Stream stream, SvgReaderOptions options ) : System.Windows.Media.DrawingImage

Loads an SVG document and renders it into a DrawingImage.

Load ( XmlReader reader ) : System.Windows.Media.DrawingImage

Loads an SVG document and renders it into a DrawingImage.

Load ( XmlReader reader, SvgReaderOptions options ) : System.Windows.Media.DrawingImage

Loads an SVG document and renders it into a DrawingImage.

Load ( string uri, SvgReaderOptions options ) : System.Windows.Media.DrawingImage

Loads an SVG document and renders it into a DrawingImage.

Method Details

Load() public static method

Loads an SVG document and renders it into a DrawingImage.
public static Load ( Stream stream ) : System.Windows.Media.DrawingImage
stream System.IO.Stream /// A to read the XML structure of the SVG /// document. ///
return System.Windows.Media.DrawingImage

Load() public static method

Loads an SVG document and renders it into a DrawingImage.
public static Load ( Stream stream, SvgReaderOptions options ) : System.Windows.Media.DrawingImage
stream System.IO.Stream /// A to read the XML structure of the SVG /// document. ///
options SvgReaderOptions /// to use for parsing respectively /// rendering the SVG document. ///
return System.Windows.Media.DrawingImage

Load() public static method

Loads an SVG document and renders it into a DrawingImage.
public static Load ( XmlReader reader ) : System.Windows.Media.DrawingImage
reader XmlReader /// A to read the XML structure of the SVG /// document. ///
return System.Windows.Media.DrawingImage

Load() public static method

Loads an SVG document and renders it into a DrawingImage.
public static Load ( XmlReader reader, SvgReaderOptions options ) : System.Windows.Media.DrawingImage
reader XmlReader /// A to read the XML structure of the SVG /// document. ///
options SvgReaderOptions /// to use for parsing respectively /// rendering the SVG document. ///
return System.Windows.Media.DrawingImage

Load() public static method

Loads an SVG document and renders it into a DrawingImage.
public static Load ( string uri, SvgReaderOptions options ) : System.Windows.Media.DrawingImage
uri string /// A to read the XML structure of the SVG /// document. ///
options SvgReaderOptions /// to use for parsing respectively /// rendering the SVG document. ///
return System.Windows.Media.DrawingImage