[Web_HTML_JavaScript]Switch bookmark

PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)

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

Post Reply
Justin.Zhou
User
Posts: 2
Joined: Thu Jan 29, 2015 9:18 am

[Web_HTML_JavaScript]Switch bookmark

Post by Justin.Zhou »

Open the PDF file does not modify the PDF bookmark property in Toggle Bookmark, the current view of how to fit the width of
Attachments
demo.rar
(970 Bytes) Downloaded 126 times
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17939
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: [Web_HTML_JavaScript]Switch bookmark

Post by Tracker Supp-Stefan »

Hello Justin.Zhou,

Welcome to our forums.
I am afraid that the translation tool you used is not quite good - and the question is a bit unclear.
Are you having problems with the visibility of the bookmarks pane or with FitWidth, or maybe with both?

Regards,
Stefan
Justin.Zhou
User
Posts: 2
Joined: Thu Jan 29, 2015 9:18 am

Re: [Web_HTML_JavaScript]Switch bookmark

Post by Justin.Zhou »

Hello Stefan,

If we open the PDF file under HTML without modyfying it's characteristics ,How to set the fit width on the current view when we change the bookmarks ?
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17939
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: [Web_HTML_JavaScript]Switch bookmark

Post by Tracker Supp-Stefan »

Hello Justin.Zhou

You can try using this before opening a file:

Code: Select all

PDFView.SetProperty('PageDisplay.DefaultZoom', 'FitWidth', 0);
or this after you have already opened the file:

Code: Select all

PDFView.SetDocumentProperty(docID, "Pages.Zoom", "FitWidth", 0);
Regards,
Stefan
Post Reply