Jump to content

Change the values of attributes saved in the Saved View


Tea

Recommended Posts

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

Link to comment

 

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?

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...