I had disabled the Syncfusion PDF toolbar for the PDFViewer control and so as a test I re-enabled it. When I did that I can now see a blue error message bar that was never shown before. The error message is "Unable to load DLL 'Pdfium.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)". Working on trying to address that now.
PdfViewerControl pdfViewerControl = new PdfViewerControl();
pdfViewerControl.ReferencePath = @"D:\ReferencePath\";
pdfViewerControl.Load("Sample.pdf"); |
With regards to the ReferencePath... is that an assumed writable folder that is outside of my application folder? |
The ReferencePath folder is not necessary to be a writable folder, if the Pdfium dlls are already placed in that folder. Otherwise, we need to provide write permission for the same.
There is no restriction in the path of the folder. It can be either outside or inside of your application folder.
|
Could that be a folder referenced as Application.StartupPath & "\SyncFusion Reference Path" and the permissions read-only ? |
Yes, the ReferencePath folder can be referenced as Application.StartupPath & "\SyncFusion Reference Path" with the read-only permission.
Note: As we mentioned earlier, if the Pdfium dlls are already placed in the ReferencePath, then it is not necessary the ReferencePath should have write permission.
|