Open Shmoopy02 opened 7 years ago
Can you please provide a sample PDF. This should actually be working and e.g. the PDF file at http://www.pdf995.com/samples/pdf.pdf contains a URL and if you open this PDF in PdfiumViewer, it correctly opens the URL.
I have the same problem with links to other pdf documents. I get correct result with the sample pdf, but not when the link is a file uri
I put a MessageBox.Show() in PdfRenderer.OnMouseUp() and every link I click has an empty URI. The links being tested to external docs and work correctly in Foxit.
Drilled down to PdfFile.GetPageLinks() and all the links are still empty where NativeMethods.FPDFAction_GetURIPath() is called. So that is coming right out of the DLL.
On Visual Studio 2017 Windows 10. Tried compiling in x64, x86, and any CPU no changes. Anyone else seeing this?