iText sharp is one of the 3rd party component to use for PDF, Word, Excel, Power Point creation and others in .NET, Now here are E-ICEBLUE to make your office experience even better with .NET. It comes with both C# and VB.NET component. Just download and add the dll into your solution, use their code to create your PDF, Word, Excel or Power Point.
What E-ICEBLUE offers ?
Here are the full list of offers that E-ICEBLUE have for you.
- Spire.Doc
- Spire.DocViewer
- Spire.XLS
- Spire.Presentation
- Spire.PDF
- Spire.PDFViewer
- Spire.PDFConverter
- Spire.DataExport
- Spire.BarCode
All these are offered by E-ICEBLUE to make your Office experience better. Demos are available in their site. Lets see how it works..
How it works?
For each and every product you have to download the installation file and install this. Now add the add the dll files into your project, as example..
For Spire.Doc download the file and install it in its default path(C:\Program Files\e-iceblue\Spire.Doc). Now add the dll file into your project by browsing the file into default folder or where you have installed. Similarly same thing goes for others also.
As you add the dll files into your project you have to add the namespaces into your VB or CS file.
C#.NET
For Spire.Doc download the file and install it in its default path(C:\Program Files\e-iceblue\Spire.Doc). Now add the dll file into your project by browsing the file into default folder or where you have installed. Similarly same thing goes for others also.
As you add the dll files into your project you have to add the namespaces into your VB or CS file.
C#.NET
using Spire.Doc; using Spire.Doc.Documents;
VB.NET
Imports Spire.Doc Imports Spire.Doc.Documents
As you add those namespaces you are now able to access the class to create your doc,
excel,power point and pdf files just by calling the method.
Let us see how to create a simple doc file in just few lines.
C#.NET
//Create word document Document document = new Document(); //Create a new paragraph Paragraph paragraph = document.AddSection().AddParagraph(); //Append Text paragraph.AppendText("Word file by using Spire.Doc"); //Save doc file. document.SaveToFile("Sample.doc", FileFormat.Doc); //Launching the MS Word file. try { System.Diagnostics.Process.Start("Sample.doc"); } catch { }
VB.NET
'Create word document Dim document_Renamed As New Document() 'Create a new paragraph Dim paragraph_Renamed As Paragraph = document_Renamed.AddSection().AddParagraph() 'Append Text paragraph_Renamed.AppendText("Word file by using Spire.Doc") 'Save doc file. document_Renamed.SaveToFile("Sample.doc", FileFormat.Doc) 'Launching the MS Word file. Try System.Diagnostics.Process.Start("Sample.doc") Catch End Try
Output:
How simple to create a doc file. Same thing happens also for Excel, PDF, Power Point. Here I have seen only for Windows application, they have provided also in Silverlight and WPF.
To check all tutorials you can go for following links.
- Spire.Doc
- Spire.DocViewer
- Spire.XLS
- Spire.Presentation
- Spire.PDF
- Spire.PDFViewer
- Spire.PDFConverter
- Spire.DataExport
- Spire.BarCode
Also you can use the API of Spire.Doc, Spire.DocViewer, Spire.XLS, Spire.Presentation,
Spire.PDF, Spire.PDFViewer. For that click here.
Important links:
For products visit E-ICEBLUE.
For tutorial visit E-ICEBLUE Tutorials.
For video tutorials E-ICEBLUE Video Tutorials
For purchasing visit E-ICEBLUE.
0 comments:
Post a Comment