Hi
Is it possible to programmatically manipulate these settings normally found in this menu Edit->Preferences->Accessibility Options:
* Override Document Colors
* Use custom color scheme
* Page background
* Text color
* Line Art (Fill color and stroke color)
I have searched the forum and API doc, but did not find any info about commands/verbs to do this.
Best regards,
//Øyvind Sannerhaugen
Programatically adjust accesibility options?
Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange
-
- User
- Posts: 3
- Joined: Fri Mar 28, 2014 11:39 am
-
- Site Admin
- Posts: 19868
- Joined: Mon Jan 12, 2009 8:07 am
Re: Programatically adjust accesibility options?
Hi Øyvind Sannerhaugen,
I don't think those can be controlled via code directly, but if you do set them up in an end user copy of the Viewer, and export the settings to a file, you can then use the
HRESULT LoadSettings(
VARIANT DataIn
);
ViewerAX method to load them as needed.
Regards,
Stefan
I don't think those can be controlled via code directly, but if you do set them up in an end user copy of the Viewer, and export the settings to a file, you can then use the
HRESULT LoadSettings(
VARIANT DataIn
);
ViewerAX method to load them as needed.
Regards,
Stefan
-
- User
- Posts: 3
- Joined: Fri Mar 28, 2014 11:39 am
Re: Programatically adjust accesibility options?
OK, thank you for your reply, I will try this 

-
- Site Admin
- Posts: 19868
- Joined: Mon Jan 12, 2009 8:07 am
Re: Programatically adjust accesibility options?
Hi Øyvind,
Actually if you do not need to change the accessibility options runtime you might need to load the settings just once - and then execute the "Override Document Colors" command - ID 36498 to toggle the accessibility settings on/off as needed.
Regards,
Stefan
Actually if you do not need to change the accessibility options runtime you might need to load the settings just once - and then execute the "Override Document Colors" command - ID 36498 to toggle the accessibility settings on/off as needed.
Regards,
Stefan