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
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:
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
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)
4 matches
Mail list logo