Programatically disable edit preferences
Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange
-
- User
- Posts: 21
- Joined: Tue Dec 20, 2011 5:47 pm
Programatically disable edit preferences
Greetings - Is there a way to programatically set the edit-preferences-general-documents layout to "Single Document" and disable the documents layout? Additionally, can we programatically disable the edit-preferences-performance memory usage and thread usage sections. I know I can disable the entire edit-preferences but we would really like to have this greater granularity. Thank you.
-
- Site Admin
- Posts: 2445
- Joined: Thu Jun 30, 2005 4:11 pm
Re: Programatically disable edit preferences
Hi, m.holik
You cannot disable this feature in preferences dialog, but you can disable it on the toolbars/menus by:
HTH
You may set it by:Greetings - Is there a way to programatically set the edit-preferences-general-documents layout to "Single Document" and disable the documents layout?
Code: Select all
pdfViewer.SetProperty("PageDisplay.DefaultLayout", "Single", 0);
pdfViewer.SetProperty("Documents.RestoreLastPageDisp", "false", 0);
Code: Select all
pdfViewer.SetProperty("Commands["SinglePage"].State", "offline", 0);
pdfViewer.SetProperty("Commands["Continuous"].State", "offline", 0);
pdfViewer.SetProperty("Commands["Facing"].State", "offline", 0);
pdfViewer.SetProperty("Commands["ContinuousFacing"].State", "offline", 0);
Currently you cannot customize our preferences dialog as of now - but you will be able to do it in the next 'Major' upgrade release - version V3.I know I can disable the entire edit-preferences but we would really like to have this greater granularity.
HTH
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.
-
- User
- Posts: 21
- Joined: Tue Dec 20, 2011 5:47 pm
Re: Programatically disable edit preferences
OK. Thanks for the quick response. Do you have an idea when the next version will be available with the ability to customize the preferences dialog? Cheers
-
- Site Admin
- Posts: 7362
- Joined: Wed Mar 25, 2009 10:37 pm
Re: Programatically disable edit preferences
Hi m.holik,
hth
We have a firm release date for this as May 31st this year.Currently you cannot customize our preferences dialog as of now - but you will be able to do it in the next 'Major' upgrade release - version V3.
hth
Best regards
Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com
Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com
-
- Site Admin
- Posts: 5223
- Joined: Tue Jun 29, 2004 10:34 am
Re: Programatically disable edit preferences
Hi,
there is slight correction to that date - the SDK version will follow a month or so later than the end user release date of 31st May, see here;
https://www.pdf-xchange.com/company ... s/view/111
Thanks
there is slight correction to that date - the SDK version will follow a month or so later than the end user release date of 31st May, see here;
https://www.pdf-xchange.com/company ... s/view/111
Thanks
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