Hi,
Can I control the visibility of document bars via setproperty when no document is loaded yet ?
I want to define the default look of the component without capturing open events and without external files(loadsettings)
control document bar & pane when no document is loaded yet
Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange
-
- User
- Posts: 30
- Joined: Wed Aug 25, 2010 10:22 am
-
- Site Admin
- Posts: 2445
- Joined: Thu Jun 30, 2005 4:11 pm
Re: control document bar & pane when no document is loaded yet
Hi, nirnir.
Try next before opening documents:HTH.
Try next before opening documents:
Code: Select all
ctrl.SetProperty("Documents.LastView.Bars["PagesNavigation"].Visible", "true", 0);
ctrl.SetProperty("Documents.LastView.Bars["PagesLayout"].Visible", "true", 0);
ctrl.SetProperty("Documents.LastView.Bars["Options"].Visible", "true", 0);
ctrl.SetProperty("Documents.LastView.Bars["Launch"].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.