Before doing the project inadvertently search this site, at first thought is the masterpiece of foreign Daniel, and then see the contact address is actually Sichuan Chengdu, oh ... We Chinese are more powerful than the old American and Indian.
This site provides all of the component libraries of Word, Excel, PPT, PDF, and a wealth of examples and help documents at once.
Homepage: http://www.e-iceblue.com/
Help Document: Http://www.e-iceblue.com/Tutorials.html
Needless to say, take PDF for example:
First, download the PDF component
: Http://www.e-iceblue.com/Introduce/pdf-for-net-introduce.html#.U5nFOyV6rZM
Before downloading, you need to register an account, a minute to fix, after downloading the installation can be completed.
Second, the study case code
See Help document: Http://www.e-iceblue.com/Tutorials/Spire.PDF/Demos/Quick-guide/PDF-HelloWorld-C-VB.NET.html
Or view the post-installation code
Third, build their own examples
1. New project, right-click to add DLL library, default address in C:\Program files\e-iceblue\spire.pdf-fe\bin\net3.5
2. Write the instance code, don't forget the namespace
Using system;using system.windows.forms;using system.drawing;using spire.pdf;using spire.pdf.graphics;namespace windowsformsapplication2{public Partial class Form1:form {public Form1 () { InitializeComponent (); } private void Form1_Load (object sender, EventArgs e) { pdfdocument doc = new pdfdocument ();//Create a new PDF document Pdfpagebase page = doc. Pages.Add ();//Add a page pages . Canvas.drawstring ("Hello, world!",//Add content new Pdffont (Pdffontfamily.helvetica, 30f), new Pdfsolidbrush ( Color.Black), Ten, ten); Doc. SaveToFile ("helloworld.pdf");//save PDF Doc. Close (); System.Diagnostics.Process.Start ("helloworld.pdf");//Open File }} }
I'm amazed by the variety of conversions that this little buddy can make.