Skip to content

Is there a way to control the zoom in the UI via a script? #135

Answered by spakin
rmcginty asked this question in Q&A
Discussion options

You must be logged in to vote

I've been looking into this, and it appears the answer is "no".

An Inkscape SVG file represents the current zoom within a sodipodi:namedview element's inkscape:zoom attribute, as in the following:

<sodipodi:namedview
   id="base"
   pagecolor="#ffffff"
   bordercolor="#666666"
   borderopacity="1.0"
   inkscape:pageopacity="0.0"
   inkscape:pageshadow="2"
   inkscape:zoom="0.5"
   inkscape:cx="512"
   inkscape:cy="385"
   inkscape:document-units="px"
   inkscape:current-layer="layer1"
   showgrid="false"
   inkscape:window-width="1920"
   inkscape:window-height="1029"
   inkscape:window-x="0"
   inkscape:window-y="0"
   inkscape:window-maximized="1"
   inkscape:document-rotation="0"
   in…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by rmcginty
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #134 on April 10, 2024 03:12.