Tea Posted November 3, 2021 Share Posted November 3, 2021 Dear Developers, is there a way in SDK to update the values of attributes of the Saved View? E.g. there is a Saved View by the name of "Saved View 1", saved in the currently opened .vwx file, which has the saved Zoom of 25%. We would like to change the Zoom for this saved view to 50%. There is an option with ISDK::EditSavedViewWithUI, but this is not what we want. We would need to do it at the background, without any dialogs popping out. Thanks in advance, Tea Quote Link to comment
JBenghiat Posted November 4, 2021 Share Posted November 4, 2021 look at the ovSheet… object variables. Looks like before sheet layers existed, saved views were called "sheets" internally. Quote Link to comment
Tea Posted November 5, 2021 Author Share Posted November 5, 2021 Thanks! But as far I understood, I can only use those variables with ISDK::SetObjectVariable and ISDK::GetObjectVariable. And the following: gSDK->SetObjectVariable(saveViewNodeHdl, ovSheetSaveZoomPan, TVariableBlock((Boolean)true)); doesn't save the current Zoom value to the Saved View itself. It only sets whether the Zoom value which was originally saved for this Saved View, will be restored the next time when this Saved View will be activated. Or am I missing something? Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.