I am using PDF-XChange Viewer ActiveX SDK version 2.5.309.0 and want to make use of the standard keyboard shortcuts listed under https://help.pdf-xchange.com/EUM/de ... skin=2VIEW.
I tried these settings but didn't succeed:
Code: Select all
pdfViewCtrl.AllowAccelerators = true;
pdfViewCtrl.SetProperty("Notifications.Keyboard.Filter", "All", 0);
pdfViewCtrl.SetProperty("General.AllowAllAccelerators", 1, 0);
I furthermore tried to catch some events:
Code: Select all
private void pdfViewCtrl_OnEvent(object sender, AxPDFXCviewAxLib._IPDFXCviewEvents_OnEventEvent e)
{
switch (e.type)
{
...
case (int)PDFXCviewAxLib.PXCVA_EventTypes.PXCVA_OnNamedNotify:
if (e.name == "Global::CheckKey")
{ ... }
else if (e.name == "Notifications.Keyboard")
{ ... }
break;
}
}
Thanks for any help!