Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Paolo F Cantoni on October 18, 2018, 05:17:09 pm

Title: Where is Persistent Zoom stored?
Post by: Paolo F Cantoni on October 18, 2018, 05:17:09 pm
Anyone know (and is prepared to share) where the Persistent Zoom is stored?  We're experimenting with this and for some diagrams, it looks like we'd need something smaller than 50%.

Can this be altered?

Paolo
Title: Re: Where is Persistent Zoom stored?
Post by: Arshad on October 18, 2018, 05:46:01 pm
FYI It will be stored in the column SCALE in t_diagram table.

Can this be altered?

Yes you need to access Scale property from the Diagram Class.


HTH
Arshad
Title: Re: Where is Persistent Zoom stored?
Post by: Paolo F Cantoni on October 18, 2018, 06:05:04 pm
FYI It will be stored in the column SCALE in t_diagram table.

Can this be altered?

Yes, you need to access Scale property from the Diagram Class.


HTH
Arshad
Thanks, Arshad, I just figured it out myself.  Its location implies that setting this makes it common for all viewers.

I guess, if there are specific diagrams that need to be set as a specific zoom/Scale level, we need to be able to discourage the users from altering it via the UI.

Paolo