RE: [svg-developers] Absolute positioning of the SVG

2006-07-20 Thread Haritos, James
Of Holger Will Sent: Thursday, 20 July 2006 3:16 PM To: svg-developers@yahoogroups.com Subject: Re: [svg-developers] Absolute positioning of the SVG Thanks for you assistance. Tried both xMinYMin and none both before and after the height/width adjustments and appears to have no effect. well, sorry i

Re: [svg-developers] Absolute positioning of the SVG

2006-07-19 Thread Holger Will
DocRPF.documentElement.setAttribute(preserveAspectRatio ,xMinyMin); that should do the trick, but it should be xMinYMin ( large cap Y). or try preserveAspectRation=none hth Holger -- if this information was usefull, please try to help someone else ! My Private Homepage:

Re: [svg-developers] Absolute positioning of the SVG

2006-07-19 Thread Holger Will
Thanks for you assistance. Tried both xMinYMin and none both before and after the height/width adjustments and appears to have no effect. well, sorry i totally forgot... preserveAspectRatio has only an effect if you have a viewBox. and the AspectRation of your viewBox is different to the

[svg-developers] Absolute positioning of the SVG

2006-07-18 Thread jack2wsx
After the SVG is loaded I have code to resize it so that it fits better for printing purposes: DocRPF.documentElement.setAttribute(height,12in); DocRPF.documentElement.setAttribute(width,8in); But after executing this the SVG appears lower down in the viewbox (on y axis)