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?
Bookmarks, Pages, ... pane questions
Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange
-
- User
- Posts: 664
- Joined: Tue Nov 14, 2006 12:23 pm
Re: Bookmarks, Pages, ... pane questions
Hello,
Try to set "View.Locked" property to true.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.
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 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?
-
- User
- Posts: 216
- Joined: Thu Jul 08, 2004 7:29 pm
Re: Bookmarks, Pages, ... pane questions
The following did the trick for preventing floating panes. Thanks.
Viewer.LockedView = true;
Viewer.LockedView = true;
-
- Site Admin
- Posts: 5223
- Joined: Tue Jun 29, 2004 10:34 am
Re: Bookmarks, Pages, ... pane questions
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
Best regards
Tracker Support
http://www.tracker-software.com