Hi Nazar,
  If you look at a SVG file from the web, I don't have the answer, 
but if you have the SVG file, then add inside the <svg ... > both: 
width="100%" height="100%" 
  Cheers, Samy

--- In [email protected], "Nazar" <[EMAIL PROTECTED]> wrote:
>
> Hi,
> 
> My question is about feature zoom in/zoom out found in most graphics
> viewers or editors. 
> 
> On  a web page view I have iframe wchich displays SVG graphics. The
> SVG is itself a diagram of a business process.  Size of the diagram 
is
> big enough and scrollbars are displayed. So I need to implement a 
zoom
> in/zoom out feature which would scale graphics to fit the box of
> visible area. 
> 
> 1. Does SVG plugin have this feature? I didn't find it in firefox
> browser. Maybe Adobe ASV plugin has it? At the first sight it is
> feature of viewer, but if either viewer plugin does not have it I 
need
> to make it with some scripting of SVG
> 
> 2. As I understand it is possible to scale SVG graphics by operating
> its DOM object tree i.e. setting attributes 
> width="2000" 
> height="430" 
> zoomAndPan="magnify" 
> viewBox="20.0 20.0 2000.0 430.0" 
> preserveAspectRatio="xMidYMid meet"
> 
> Setting height to 200 will automatically zoom out graphics to fit 
into
>  iframe height, isn't it?
> 
> What zoomAndPan and preserveAspectRatio attributes values are 
allowed?
>







-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to