Can't get dataToURL working to print a SVGpaper. Any help please.
xui.Class('App', 'xui.Module',{
Instance:{
iniComponents : function(){
// [[Code created by CrossUI RAD Studio
var host=this, children=, append=function(child){children.push(child.get(0));};
append(
xui.create("xui.UI.SVGPaper")
.setHost(host,"xui_ui_svgpaper10")
.setLeft("11.666666666666666em")
.setTop("7.5em")
.setHeight("33.333333333333336em")
.setCustomStyle({
"KEY":{
"border-top":"solid 1px #000000",
"border-right":"solid 1px #000000",
"border-bottom":"solid 1px #000000",
"border-left":"solid 1px #000000"
}
})
);
host.xui_ui_svgpaper10.append(
xui.create("xui.svg.circle")
.setHost(host,"xui_svg_circle10")
.setSvgTag("Shapes:Circle")
.setAttr({
"r":20,
"stroke":"#004A7F",
"fill":"#ffffff",
"stroke-width":2,
"cx":50,
"cy":80
})
);
host.xui_ui_svgpaper10.append(
xui.create("xui.svg.rect")
.setHost(host,"xui_svg_rect2")
.setSvgTag("Shapes:Rect")
.setAttr({
"width":101,
"height":101,
"stroke":"#004A7F",
"fill":"#ffffff",
"stroke-width":2,
"x":269, ...