Hi Using VB.NET
I am loading multiple documents into the pdf viewer and having them show as tabs. I want to programatically let the user switch from a tab view to a cascade view and back again, but am having some difficulty figuring out which commands to use in my code. (I can do it fine through the tracker interface, but I am trying to simplify it as single step process from the user perspective.
Any thoughts?
Switching from multi document tabs to cascade view - in code
Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange
-
- User
- Posts: 518
- Joined: Thu Dec 06, 2007 8:13 pm
-
- Site Admin
- Posts: 2445
- Joined: Thu Jun 30, 2005 4:11 pm
Re: Switching from multi document tabs to cascade view - in
Hi docu-track99.
Try the next way:
- to cascade documents:
- back to tabbed documents:
HTH.
Try the next way:
- to cascade documents:
Code: Select all
pdfViewer.SetProperty("View.Bars[#32940].Visible", "false", 0); // #32940 - ID of tab bar
pdfViewer.DoVerb("", "ExecuteCommand", "CascadeWindows", null, 0);
//// pdfViewer.DoVerb("", "ExecuteCommand", "TileWindowsHorizontal", null, 0);
//// pdfViewer.DoVerb("", "ExecuteCommand", "TileWindowsVertical", null, 0);
Code: Select all
pdfViewer.SetProperty("View.Bars[#32940].Visible", "true", 0);
PDF-XChange Co. LTD (Project Developer)
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.