RestoreLastPageDisp  SOLVED

PDF-XChange Editor SDK for Developers

Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan

Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.

When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
Post Reply
AteBe
User
Posts: 63
Joined: Thu Dec 06, 2018 7:02 am

RestoreLastPageDisp

Post by AteBe »

In the PDFXChange viewer we set the property RestoreLastPageDisp to 0.
Unfortunately I can not find the corresponding command in the PDFXChange Editor.
Can you tell me how to do that?
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: RestoreLastPageDisp

Post by Sasha - Tracker Dev Team »

Hello AteBe,

Here's where this setting is stored:
image.png
Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
AteBe
User
Posts: 63
Joined: Thu Dec 06, 2018 7:02 am

Re: RestoreLastPageDisp

Post by AteBe »

Hallo Alex,

thanks for the answer, but i want to set the property in the code, not in the GUI.
In the PDFXChange Viewer, the code is

Code: Select all

Variant v = new Variant(0);
Variant pVarResult = getAutomation().invoke(getId(TrackerConstants.SETPROPERTY), new Variant[] 
                                     { new Variant("Documents.RestoreLastPageDisp"), 0 });
I now need the code for the PDFXChange Editor.

AteBe
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: RestoreLastPageDisp  SOLVED

Post by Sasha - Tracker Dev Team »

Hello AteBe,

Code: Select all

Inst.Settings["PagesView.RestoreLastView"] = false;
Also, be sure to check out our CABNode Explorer application that allows to browse through our settings CAB to find needed items:
viewtopic.php?f=66&t=25943

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
Post Reply