[Web_HTML_JavaScript]Switch bookmark
Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange
-
- User
- Posts: 2
- Joined: Thu Jan 29, 2015 9:18 am
[Web_HTML_JavaScript]Switch bookmark
Open the PDF file does not modify the PDF bookmark property in Toggle Bookmark, the current view of how to fit the width of
You do not have the required permissions to view the files attached to this post.
-
- Site Admin
- Posts: 19868
- Joined: Mon Jan 12, 2009 8:07 am
Re: [Web_HTML_JavaScript]Switch bookmark
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
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
-
- User
- Posts: 2
- Joined: Thu Jan 29, 2015 9:18 am
Re: [Web_HTML_JavaScript]Switch bookmark
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 ?
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 ?
-
- Site Admin
- Posts: 19868
- Joined: Mon Jan 12, 2009 8:07 am
Re: [Web_HTML_JavaScript]Switch bookmark
Hello Justin.Zhou
You can try using this before opening a file:
or this after you have already opened the file:
Regards,
Stefan
You can try using this before opening a file:
Code: Select all
PDFView.SetProperty('PageDisplay.DefaultZoom', 'FitWidth', 0);
Code: Select all
PDFView.SetDocumentProperty(docID, "Pages.Zoom", "FitWidth", 0);
Stefan