Spire.Doc for .NET is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files on any .NET platform ( Target .NET Framework, .NET Core, .NET Standard, Xamarin & Mono Andriod ) with fast and high quality performance.
产品概览
标准版和专业版的不同之处在于打印功能和文件转换功能:专业版支持文档打印,将 Word 文件转换为PDF、HTML、XPS、SVG、Text、图片和XML文件(Word文件的格式可以是 .doc,也可以是 .docx)。
注意:而与专业版相比,标准版则不支持上述功能;标准版不支持.NET Core,Microsoft Azure。
主要功能
无需 Microsoft Office
Spire.Doc for .NET是一个完全独立的.NET Word 类库,它所运行的系统无需安装 Microsoft Office。Spire.Doc for .NET和Microsoft Word相比,优点在于稳定性高,运行速度快和可扩展性强。
高质量的文档转换
Spire.Doc for .NET 能帮助用户将 Word 文件保存在流中,也可以保存为 Web Response,还支持将 Word 文件与 XML、RTF、EMF、TXT、XPS、EPUB、HTML、SVG 和 ODT 等格式文件之间的双向转换。
多样化的Word文档功能
Spire.Doc for .NET 的一个常用功能就是动态创建一个全新的 Word 文档。并支持几乎所有的 Word文档元素,它们主要包括页面、节、页眉、页脚、数字签名、脚注、尾注、段落、项目符号和编号、表格等元素。
便捷处理现有Word文档
使用 Spire.Doc for .NET,开发人员能对已有的 Word 文档进行操作处理。支持搜索和替换、设置、对齐方式, 分页、分节、填充域、文档合并、复制、打印,以及邮件合并等。
功能细节
产品增值服务
慧都提供spire.doc试用版,下载安装后可申请30天试用许可
如果您有任何问题,可随时在线咨询联系慧都客服,我们竭诚为您服务!
Spire.Doc for .NET is a proven reliable MS Word API for .NET which enables to perform many Word document processing tasks. It supports C#, VB.NET, ASP.NET and ASP.NET MVC. Spire.Doc supports Word 97-2003 /2007/2010 and it has the ability to convert them to commonly used file formats like XML, RTF, TXT, XPS, EPUB, EMF, HTML and vice versa. Furthermore, it supports to convert Word Doc/Docx to PDF using C# in high quality.
The Difference between Standard and Pro Edition lies in the feature of File Conversion: Pro Edition supports converting files from Word to PDF, Word to HTML, Word to XPS, Word to Text, Word to Image and Word to XML(the Word can be either .Doc or .Docx). Unlike Pro Edition, the standard edition doesn't support conversion of any kind mentioned above.
Main Functions
Only Spire.Doc, No Microsoft Office Automation
Spire.Doc for .NET is a totally independent .NET Word class library which doesn't require Microsoft Office installed on system. Microsoft Office Automation is proved to be unstable, slow and not scalable to produce MS Word documents. Spire.Doc for .NET is many times faster than Microsoft Word Automation and with much better stability and scalability.
Convert File Documents with High Quality
By using Spire.Doc for .NET, users can save Word Doc/Docx to stream, save as web response and convert Word Doc/Docx to XML, RTF, EMF, TXT, XPS, EPUB, HTML and vice versa. Spire.Doc for .NET also supports to convert Word Doc/Docx to PDF and HTML to image.
Richest Word Document Features Support
A common use of Spire.Doc for .NET is to create Word document dynamically from scratch. Almost all Word document elements are supported. Mainly includes page, sections, headers, footers, footnotes, paragraphs, lists, tables, text, fields, hyperlinks, bookmarks, comments, images, styles, background settings, printing features, document settings and protection. Furthermore, drawing objects including shapes, textboxes, images, OLE objects and controls are supported as well.
Simple & Easy to Process Pre-Existing Word Documents
Spire.Doc for .NET enables developers to process pre-existing Word documents. It supports search and replace function, alignment, page break, fill field, document concatenate, document copy, print, complex and deeply nested mail merge, etc.
Other Technical Features
By using Spire.Doc, developers can build any type of a 32-bit or 64-bit .NET application including C#, VB.NET, ASP.NET, Web Services and WinForms for .NET Framework version from 2.0 to 4.0.
Spire.Doc for .NET features
Technical Features
Spire.Doc for .NET enables developers/programmers to build WinForms, Web Services, ASP.NET and other type for .NET applications from version 2.0 to 4.0 ClientProfile on 32-bit or 64-bit system.
Generating , Writing, Editing and Saving
Spire.Doc for .NET enables quick generating, saving, writing and editing Word documents.
- Generate and save Word documents (Word 97-2003, Word 2007 and Word 2010).
- Load and save document with macros, including .doc (Word 97-2003) document with macros and .docm(Word 2007 and Word 2010) document.
- Write and edit text and paragraphs.
Converting
Spire.Doc for .NET enables converting Word documents to most common and popular formats.
- Interversion Doc-Docx: Convert .doc document (Word 97-2003) to .docx document (Word 2007 and Word 2010) and vice versa.
- Interversion Doc(x)-RTF: Convert .doc(x) document to RTF (Rich Text Format) and vice versa.
- Interversion Doc(x)-TXT: Convert .doc(x) document to TXT (Plain Text) and enable to load TXT file and save as .doc(x) document.
- Interversion Doc(x)-HTML: Convert .doc(x) document to HTML file and enable to load HTML file and save as .doc(x) document.
- Interversion Doc(x)-Dot: Convert .doc(x) document to Dot (OpenDocument Text) and vice versa.
- Interversion Doc(x)-XML: Convert .dox(x) document to XML and enable to load XML file and save as .doc(x) document.
- Interversion Doc(x)-XPS: Convert .dox(x) document to XPS document.
- Unidirectional Conversion: Doc(x)-EPUB: Convert .doc(x) document to EPUB (Digital Publishing).
- Unidirectional Conversion: Doc(x)-PDF: Convert .doc(x) document to PDF in high quality, including contents and formats.
Inserting, Editing and Removing Objects
Spire.Doc for .NET enables to inserting, editing and removing external objects in Word.
- Find and replace specified strings.
- Copy and remove comment, bookmark, table, texts, paragraph or sections.
- Merge multiple Word documents into one.
- Protect documents to prevent from opening, editing, printing etc.
- Open and decrypt documents in protection.
- Extract texts, comments, images etc. from document.
- Load and save document with macros. Remove macros in document.
- Create form field including elements: cells, texts, radio button, dropdown list, checkbox etc.
- Fill form field by connecting data from xml file.
- Create and edit document properties.
- Clear macros in .doc and .docm document.
Formatting
Spire.Doc for .NET enables formatting contents in documents, including character, paragraphs, pages and whole document.
- Format all characters in document, including fonts, sizes, colors, effects etc.
- Format paragraphs, including built-in styles, indents, spacing, bullets, alignment, headings and number list style etc.
- Format Word tables, including cell fonts and colors, cell background color, cell alignment, cell borders and column width/row height setting.
- Format Word page, including page breaks, border, margins, paper size and orientation.
- View document with different document view types, zoom percent and zoom types.
Mail Merge
Spire.Doc for .NET enables executing mail merge function to create records, orders and reports.
- Perform simple mail merge fields (name and value) to create single item.
- Execute mail merge to create a group of data records with connecting customized data source.
- Populate document with data from .NET data source including DataSet, DataTable, DataView or any other files (for example, xml) to create large amounts of records or report by using mail merge.
Feature Details
