File - Drag & Drop - Open?  SOLVED

PDF-XChange Editor SDK for Developers

Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan

Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.

When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
Post Reply
userpark
User
Posts: 17
Joined: Fri Aug 04, 2017 4:26 am

File - Drag & Drop - Open?

Post by userpark »

I am using "PDF-XChange Editor SDK".

I have created an application using the SDK, but I do not know how to open and drop the file directly into the ActiveX object "AxPDFXEdit.AxPXV_Control", rather than drag and drop it into the Form object of the application.

I would be grateful if you could give me an example (c#) or related knowledge.
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: File - Drag & Drop - Open?  SOLVED

Post by Sasha - Tracker Dev Team »

Hello userpark,

You will have to set this setting to true:

Code: Select all

pdfCtl.Inst.Settings["Docs.CanOpenByDrop"].v = true;
pdfCtl.Inst.FireAppPrefsChanged(PDFXEdit.PXV_AppPrefsChanges.PXV_AppPrefsChange_Documents);
Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
Post Reply