前台界面和dll引用,DPF文件我放在资源文件夹:
代码:
// string filePath = @"C:/Users/Desktop/wsbp.pdf";
// string filePath = "/inverterWPF;component/Resources/wsbp_book.pdf";
moonPdfPanel.OpenFile(filePath);//但是我不知道这个filePath怎么赋值,上面这几种办法都报错
moonPdfPanel.Zoom(1.0);
运行项目时提示:引发的异常:“System.DllNotFoundException”(位于 MoonPdfLib.dll 中)