• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 11. Creating Interactive SVG Gra... > Zooming, Panning and Scrolling SVG I...

Zooming, Panning and Scrolling SVG Images

Conforming SVG viewers are required to provide the zooming and panning of SVG images. The details of how that is done are left to the implementation in individual SVG viewers.

However, in some situations, you may not want a user to be able to use zooming and panning. In this type of situation, you can disable zooming by setting the zoomAndPan attribute on the outer <svg> element to a value of disable:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint