I am unable to get PDFNetLoader to work correctly with an Outlook AddIn

23 views
Skip to first unread message

Ryan

unread,
Aug 30, 2017, 2:28:01 PM8/30/17
to PDFTron PDFNet SDK
Question:

I need to support either 32 or 64 bit Outlook, but after adding PDFNet and PDFNetLoader to my addin project, it never loads PDFNet at all.

Answer:

By default PDFNetLoader is looking for a folder called "PDFNet" in the current working directory, but this folder is probably in a different folder.

In particular for Office AddIns, try setting the PDFNetLoader Path to AppDomain.CurrentDomain.SetupInformation.ApplicationBase.

private static pdftron.PDFNetLoader loader = pdftron.PDFNetLoader.Instance().Path(AppDomain.CurrentDomain.SetupInformation.ApplicationBase);


Reply all
Reply to author
Forward
0 new messages