10金币
最佳答案string filePath = "D:\123.pdf";
StreamProvider StreamProvider = new FileStreamProvider(new DirectoryInfo(Path.GetDirectoryName(filePath)), Path.GetFileNameWithoutExtension(filePath));
var pdfRenderingExtension = new PdfRenderingExtension();
MyDocument.Render(pdfRenderingExtension, StreamProvider, pdfRenderingExtension.GetSupportedSettings(true).Ge ...
| |
| |
| |
| |
|
| |