开发者

how to use iTextSharp with existing wpf document?

开发者 https://www.devze.com 2023-01-10 13:23 出处:网络
I have a existing 开发者_开发技巧wpf document, how do I get an pdf via iTextSharp from this?A simple way, which is easy, but probably not the most efficient way is to render the WPF document to an ima

I have a existing 开发者_开发技巧wpf document, how do I get an pdf via iTextSharp from this?


A simple way, which is easy, but probably not the most efficient way is to render the WPF document to an image and then embed the image in a PDF using iTextSharp.

I have done it this way before successfully. Initially I tried to convert the control primitives (shapes) to PDF equivalents, but this proved too hard.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号