How can I use MS Silverlight to generate Adobe PDF documents? Does it look like buying McDonald's at KFC? Haha...
Back to the truth:
First, we need to use the following two open source libraries.
1. open source project http://silverpdf.codeplex.com/
Silverlight PDF open-source Library
2. fluxjpeg
With this function, bitmap can be converted to a base64 string, and the official project address cannot be found. Google and Baidu can download more than N at a time.
Note:CommunityThere will always be some good people doing good deeds. May the Lord bless them in good health, work well, write more and betterCode
First look at the demo: (a Chinese font of about 7 mb is embedded, so the download is slow. Please wait)
You can also see this demo address: http://images.24city.com/jimmy/pdf/
Several lines of code are better than a thousand words, and those who want to study them can download them directly.Source codeView it
Source File Download: http://cid-2959920b8267aaca.skydrive.live.com/self.aspx/Silverlight/pdfDemo.rar