How do I programmatically disable the 'Exclusive Mode' (the crown button) on startup / initialization of the PDF-XChange? The command ID is cmd.tool.exclusiveMode but when I try something like
Code: Select all
getInst().Settings().SetBool("cmd.tool.exclusiveMode", false)
I get a 'com.sun.jna.platform.win32.COM.COMException: Falscher Parameter.(HRESULT: 80070057) (puArgErr=)'.
Am I just using the wrong ID or do I generally use the wrong approach for this? When calling it at the same code position for example with
Code: Select all
getInst().Settings().SetBool("Tools.Line.ExclusiveMode", false)
I don't get the error. But this is not the right key for the actual user case