我正在使用SelectPDF将HTML转换为PDF。
在html中有一个用于图像的部分:
<div>
<img src="images\picture.png" alt="Logo">
</div>在html中查看页面没有问题,但是当html被转换时,图片不会出现。
发布于 2020-08-01 14:52:21
此问题位于Select PDF的toubleshooting部分。
https://selectpdf.com/html-to-pdf/docs/html/Troubleshooting.htm
我必须使用一个同时具有模板字符串和基本url字符串ConvertHtmlToString( string,string)的方法。
https://stackoverflow.com/questions/63201009
复制相似问题