It's amazing. NET Office Software Library

Source: Internet
Author: User

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.







Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.