Follow on Google News News By Tag Industry News News By Place Country(s) Industry News
Follow on Google News | Working with paragraphs in Word documents – Word API for .NETElerium Word .NET component, new release 2.0 has been introduced by Elerium Software.
By: Elerium Software A perfect solution is the latest version of Elerium Word .NET component by Elerium Software with some important changes: - Html reader was completed - Added Convert Options - Changed Logical model of read/write methods - DOC, DOCX formats: now footnotes/endnotes work - Write methods of DOC, DOCX: now complex footnotes/ - Changed subdocument system Elerium Word .NET component provides the ability to work with paragraphs simple and intuitive. First of all developer must install the component into the project: 1. Add Elerium Word .Net component to the solution. Simply put Word.dll into /bin folder of the project. 2. Initialize the Docs.Word instance. When the component is connected to the project a developer can open existing Word document (or create new one) and work with its contents. For example, let’s take a simple document with four paragraphs and change its style: C# code: using System; using System.Drawing; using Docs.Word; namespace Sample { class Paragraphs_Style { internal static Document Main1() { // Open the document with given name and gets all paragraphs Document Doc = Document.ReadDoc(@" ParagraphList ParList = Doc.Sections[ // Change style properties of 1st paragraph ParList[ ParList[ ParList[ // Change style properties of 2nd paragraph ParList[ ParList[ // Change style properties of 3rd paragraph ParList[ ParList[ ParList[ ParList[ ParList[ // Change style properties of 4th paragraph ParList[ ParList[ ParList[ // Save result document Doc.WriteDOC(@" } } } After performing the transformation, with just a few lines of code, the document get the new formatting and became look more interesting. This is only a small part of the features that provided by Elerium Word .NET component. About Elerium Software Elerium Software develops professional solutions for use in .NET projects (C#, VB.NET, ASP.NET) that aimed to read/write/convert different office/web documents and formats. Elerium Software components are based on the unique design and fast algorithms that allow being independent from the third-party applications and libraries. For more information about the component please visit the product page: http://eleriumsoft.com/ End
Account Email Address Account Phone Number Disclaimer Report Abuse
|
|