Bookmarks, Pages, ... pane questions

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

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

DSSavant
User
Posts: 216
Joined: Thu Jul 08, 2004 7:29 pm

Bookmarks, Pages, ... pane questions

Post by DSSavant »

A) How do I prevent the Bookmarks, Pages, and "other panes" from floating in the viewer? Since I'm incorporating your viewer control into my product, I do not want to allow the user to undock / float / detach / etc. the panes.

B) How do I get and set the position of the Bookmarks, Pages, and "other panes" panel area? I'm defining the "panel area" as the slider window (typically left side of viewer) that the panes all coexist within. So, if my user size the panel area to be 250 pixels wide while on Workstation A, closes my application, walks over to Workstation B and then reloads my application, how do I set the panel area to 250 pixels wide?
Corwin - Tracker Sup
User
Posts: 664
Joined: Tue Nov 14, 2006 12:23 pm

Re: Bookmarks, Pages, ... pane questions

Post by Corwin - Tracker Sup »

Hello,
DSSavant wrote:A) How do I prevent the Bookmarks, Pages, and "other panes" from floating in the viewer? Since I'm incorporating your viewer control into my product, I do not want to allow the user to undock / float / detach / etc. the panes.
Try to set "View.Locked" property to true.
DSSavant wrote:B) How do I get and set the position of the Bookmarks, Pages, and "other panes" panel area? I'm defining the "panel area" as the slider window (typically left side of viewer) that the panes all coexist within. So, if my user size the panel area to be 250 pixels wide while on Workstation A, closes my application, walks over to Workstation B and then reloads my application, how do I set the panel area to 250 pixels wide?
There is no method to control panels and toolbars position using code. We are planing to add such possibility in next version. However you may customize Viewer panels layout, export settings, and then import them in your Viewer AX control.
DSSavant
User
Posts: 216
Joined: Thu Jul 08, 2004 7:29 pm

Re: Bookmarks, Pages, ... pane questions

Post by DSSavant »

The following did the trick for preventing floating panes. Thanks.

Viewer.LockedView = true;
User avatar
John - Tracker Supp
Site Admin
Posts: 5223
Joined: Tue Jun 29, 2004 10:34 am

Re: Bookmarks, Pages, ... pane questions

Post by John - Tracker Supp »

Pleased all is well :)
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.

Best regards
Tracker Support
http://www.tracker-software.com