我正在使用贝娄教程使用.slddrw (Solidwork)转换成pdf使用eDrawing API使用eDrawing链接
https://www.codestack.net/edrawings-api/output/print-to-pdf
可以生成pdf文件,但是pdf文件中没有数据(图像)。
这是在edrawing image1中查看的image1文件
输出到批处理pdf之后,像下面这样的image2
谢谢你的帮助。谢谢
发布于 2022-10-11 10:57:16
我能找到解决办法。我们需要像下面这样添加EMvPrintType.eScaleToFit代码。
M_Ctrl.Print5(假,fileName,假,真,EMVPrintType.eScaleToFit,1,0,0,真,1,1,pdfFilePath);
https://stackoverflow.com/questions/73877582
复制相似问题