Einhugur SVG Plugin for Xojo |
|
Image.Constructor Constructor
Constructor which takes SVG data contained in a String.

Constructor(
svgData
as String)
Parameters
- svgData
- String containing SVG data.
Remarks
You can also use this constructor to load SVG image which you have dragged into your Xojo project.
For example then in the example bellow the Tiger is SVG that has been dragged into the Xojo project:
try
m_svg = new EinhugurSVG.Image(Tiger)
catch e as EinhugurSVG.SVGException
MessageBox e.Message
end try
This constructor can throw SVGException.
See Also
Image Class