Skip to content
Jim Pivarski edited this page Mar 15, 2015 · 1 revision
  1. summary Load an SVG image from XML text
  2. labels Reference,Version1

_(This page applies only to the 1.x branch of SVGFig.)_

load

Loads an SVG image from an XML file on disk. Returns an [ClassSVG SVG] object.

Arguments

  • load(fileName)*
fileName _*required*_ name of the SVG file

load_stream

Loads an SVG image from an XML stream. Returns an [ClassSVG SVG] object.

  • load_stream(stream)*
stream _*required*_ a stream object, such as a string
Clone this wiki locally