Aspose.Words 20.1.0

Aspose.Words for .NET is a cross-platform class library that enables your applications to perform a great range of document processing tasks. With Aspose.Words you can load, save and convert documents between the following formats: DOC, DOT, DOCX, DOCM, DOTX, DOTM, XML (including Word 2003 XML), RTF, HTML, MHTML, MOBI, ODT, OTT, TXT – also you can convert them to: PDF, XPS, SVG, EPUB, XAML, PS, PCL, TIFF, BMP, PNG, EMF, JPEG, GIF and other formats. With Aspose.Words you can generate, modify, convert, render and print documents without utilizing Microsoft Word®.

Aspose.Words for .NET is well documented to help you create your solutions on different platforms.

Rich Set of Features

Aspose.Words for .NET features can be divided into four main areas:
- Conversions: High quality conversions to and from DOC, OOXML, RTF, WordprocessingML, HTML, MHTML, TXT and OpenDocument formats
- Document Object Model: Programmatic access through a rich API to all document elements and formatting allows to create, modify, extract, copy, split, join, and replace document content
- Rendering: Convert whole documents or pages to PDF, XPS or for server-side document generation. Also convert document pages to TIFF, PNG, BMP or EMF images, print or render pages to .NET Graphics. All with high fidelity - exactly like Microsoft Word® would have done it.
- Reporting: Generate documents or reports from scratch or by filling templates with data from data sources or business objects.

Platform Independence

You can use Aspose.Words for .NET to build any type of a 32-bit or 64-bit .NET application including ASP.NET, WCF, WinForms, UWP, .NET Standard, .NET Core etc. It is possible to use Aspose.Words for .NET via COM Interop from ASP, Perl, PHP and Python. You can also use Aspose.Words for .NET to build applications with Mono.

Performance and Scalability

Aspose.Words is designed to perform great both on a server or client. Aspose.Words is a single .NET assembly that can be deployed with any .NET application by simply copying it. You do not have to worry about any other services or modules. You can literally generate thousands of documents in minutes with Aspose.Words and that involves opening a document, modifying content and formatting or populating it with data and saving it. Even most of the complex documents are opened and saved on a P4 2.4Ghz 1Gb RAM machine in fractions of a second.

Aspose.Words is multithread safe as long as only one thread works on a document at a time. It is a typical scenario to have one thread working on one document. Different threads can safely work on different documents at the same time.

Aspose.Words Documentation
https://docs.aspose.com/display/wordsnet/Home

Free support for Aspose.Words for .NET is provided on our support forum:
https://forum.aspose.com/
and on StackOverflow:
https://stackoverflow.com/questions/tagged/aspose.words

There is a newer version of this package available.
See the version list below for details.
Install-Package Aspose.Words -Version 20.1.0
dotnet add package Aspose.Words --version 20.1.0
<PackageReference Include="Aspose.Words" Version="20.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Aspose.Words --version 20.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Word API Features

  • Comprehensive document import and export with 35+ supported file formats.
  • High fidelity rendering of document pages - exactly like Microsoft Word would have rendered.
  • Rich object model that allows to generate, combine, modify, parse or otherwise examine loaded documents.
  • Programmatic access to formatting properties of all document elements.
  • .NET printing infrastructure to print documents on physical and virtual printers.
  • Generate reports with Mail Merge that allows populating documents with data from various sources.
  • LINQ Reporting Engine to fetch data from databases, XML, JSON, OData, external documents and more.

Read & Write Document Formats

Microsoft Word: DOC, DOCX, RTF, DOT, DOTX, DOTM, DOCM FlatOPC, FlatOpcMacroEnabled, FlatOpcTemplate, FlatOpcTemplateMacroEnabled
OpenOffice: ODT, OTT
WordprocessingML: WordML
Web: HTML, MHTML
Text: TXT

Save Word Files As

Fixed Layout: PDF, PDF/A, XPS, OpenXPS, PostScript (PS)
Images: TIFF, JPEG, PNG, BMP, SVG, EMF, GIF
Web: HtmlFixed
Others: PCL, EPUB, XamlFixed, XamlFlow, XamlFlowPack

Platform Independence

Aspose.Words for .NET API can be used to develop applications for a vast range of operating systems (Windows, Linux & Mac OS) and platforms. You can build both 32-bit and 64-bit applications including ASP.NET, WCF & WinForms. Aspose.Words for .NET can also be used via COM Interop from ASP, PHP, Perl and Python.

You can also build applications with Mono as well as on Windows Azure, Microsoft SharePoint, Microsoft Silverlight, Xamarin.Android, Xamarin.iOS & Xamarin.Mac.

Getting Started with Aspose.Words for .NET

Are you ready to give Aspose.Words for .NET a try? Simply execute Install-Package Aspose.Words from Package Manager Console in Visual Studio to fetch the NuGet package. If you already have Aspose.Words for .NET and want to upgrade the version, please execute Update-Package Aspose.Words to get the latest version.

Create a DOC from Scratch via C#

You can execute this snippet in your environment to see how Aspose.Words performs or check the GitHub Repository for other common usage scenarios.

// create a blank document
Document doc = new Document();
// the DocumentBuilder class provides members to easily add content to a document
DocumentBuilder builder = new DocumentBuilder(doc);
// write a new paragraph in the document with the text "Hello World!"
builder.Writeln("Hello World!");
// save the document in DOCX format. 
// the format to save as is inferred from the extension of the file name.
doc.Save(dir + "output.docx");

Export DOC as EPUB using C#

Aspose.Words for .NET allows you to convert Microsoft Word® formats into bytes, HTML, EPUB, MHTML and other file formats. Following snippet demonstrates the conversion of a DOC file to an EPUB file:

// load the document from disc
Document doc = new Document(dir + "template.doc");
// save the document in EPUB format
doc.Save(dir + "output.epub");

Product Page | Documentation | API Reference | Code Examples | Blog | Free Support | Temporary License

Word API Features

  • Comprehensive document import and export with 35+ supported file formats.
  • High fidelity rendering of document pages - exactly like Microsoft Word would have rendered.
  • Rich object model that allows to generate, combine, modify, parse or otherwise examine loaded documents.
  • Programmatic access to formatting properties of all document elements.
  • .NET printing infrastructure to print documents on physical and virtual printers.
  • Generate reports with Mail Merge that allows populating documents with data from various sources.
  • LINQ Reporting Engine to fetch data from databases, XML, JSON, OData, external documents and more.

Read & Write Document Formats

Microsoft Word: DOC, DOCX, RTF, DOT, DOTX, DOTM, DOCM FlatOPC, FlatOpcMacroEnabled, FlatOpcTemplate, FlatOpcTemplateMacroEnabled
OpenOffice: ODT, OTT
WordprocessingML: WordML
Web: HTML, MHTML
Text: TXT

Save Word Files As

Fixed Layout: PDF, PDF/A, XPS, OpenXPS, PostScript (PS)
Images: TIFF, JPEG, PNG, BMP, SVG, EMF, GIF
Web: HtmlFixed
Others: PCL, EPUB, XamlFixed, XamlFlow, XamlFlowPack

Platform Independence

Aspose.Words for .NET API can be used to develop applications for a vast range of operating systems (Windows, Linux & Mac OS) and platforms. You can build both 32-bit and 64-bit applications including ASP.NET, WCF & WinForms. Aspose.Words for .NET can also be used via COM Interop from ASP, PHP, Perl and Python.

You can also build applications with Mono as well as on Windows Azure, Microsoft SharePoint, Microsoft Silverlight, Xamarin.Android, Xamarin.iOS & Xamarin.Mac.

Getting Started with Aspose.Words for .NET

Are you ready to give Aspose.Words for .NET a try? Simply execute Install-Package Aspose.Words from Package Manager Console in Visual Studio to fetch the NuGet package. If you already have Aspose.Words for .NET and want to upgrade the version, please execute Update-Package Aspose.Words to get the latest version.

Create a DOC from Scratch via C#

You can execute this snippet in your environment to see how Aspose.Words performs or check the GitHub Repository for other common usage scenarios.

// create a blank document
Document doc = new Document();
// the DocumentBuilder class provides members to easily add content to a document
DocumentBuilder builder = new DocumentBuilder(doc);
// write a new paragraph in the document with the text "Hello World!"
builder.Writeln("Hello World!");
// save the document in DOCX format. 
// the format to save as is inferred from the extension of the file name.
doc.Save(dir + "output.docx");

Export DOC as EPUB using C#

Aspose.Words for .NET allows you to convert Microsoft Word® formats into bytes, HTML, EPUB, MHTML and other file formats. Following snippet demonstrates the conversion of a DOC file to an EPUB file:

// load the document from disc
Document doc = new Document(dir + "template.doc");
// save the document in EPUB format
doc.Save(dir + "output.epub");

Product Page | Documentation | API Reference | Code Examples | Blog | Free Support | Temporary License

Release Notes

https://docs.aspose.com/display/wordsnet/Aspose.Words+for+.NET+20.1+Release+Notes

Showing the top 1 GitHub repositories that depend on Aspose.Words:

Repository Stars
aspose-words/Aspose.Words-for-.NET
Aspose.Words for .NET examples, plugins and showcases

Read more about the GitHub Usage information on our documentation.

Version History

Version Downloads Last updated
20.2.0 3,275 2/4/2020
20.1.0 11,450 12/30/2019
19.12.0 12,494 12/5/2019
19.11.0 31,300 11/5/2019
19.10.0 24,521 10/4/2019
19.9.0 32,883 9/4/2019
19.8.0 21,308 8/9/2019
19.7.0 44,687 7/3/2019
19.6.0 35,954 6/3/2019
19.5.0 35,511 5/7/2019
19.4.0 47,586 4/2/2019
19.3.0 36,441 3/4/2019
19.2.0 42,591 2/1/2019
19.1.0 40,846 12/26/2018
18.12.0 13,344 12/4/2018
18.11.0 38,184 11/2/2018
18.10.0 44,250 10/3/2018
18.9.0 29,269 9/3/2018
18.8.0 28,841 8/1/2018
18.7.0 30,475 7/4/2018
18.6.0 51,113 6/1/2018
18.5.0 28,084 5/2/2018
18.4.0 25,520 4/2/2018
18.3.0 19,204 3/2/2018
18.2.0 17,407 2/1/2018
18.1.0 32,960 12/26/2017
17.12.0 30,283 12/6/2017
17.11.0 14,926 11/15/2017
17.10.0 33,227 10/9/2017
17.9.0 17,331 9/5/2017
17.8.0 52,561 8/6/2017
17.7.0 16,040 7/6/2017
17.6.0 23,942 6/6/2017
17.5.0 12,592 5/15/2017
17.4.0 27,410 4/4/2017
17.3.0 40,560 3/6/2017
17.2.0 31,259 2/6/2017
17.1.0 11,514 1/16/2017
16.12.0 15,829 12/11/2016
16.11.0 30,858 11/3/2016
16.10.0 24,002 10/12/2016
16.8.0 21,384 9/10/2016
16.7.0 25,109 8/9/2016
16.6.0 12,432 7/13/2016
16.5.0 14,199 6/23/2016
16.4.0 56,201 5/12/2016
16.3.0 13,120 4/11/2016
16.2.0 12,733 3/16/2016
16.1.0 46,095 2/3/2016
15.12.0 17,808 12/26/2015
15.11.0 16,691 12/5/2015
15.10.0 20,559 11/5/2015
15.9.0 10,713 10/12/2015
15.8.1 24,609 9/5/2015
15.7.0 81,450 8/7/2015
15.6.0 14,272 7/4/2015
15.5.0 7,544 6/7/2015
15.4.0 14,807 5/10/2015
15.3.0 9,299 4/2/2015
15.2.0 22,006 3/6/2015
15.1.0 12,391 2/8/2015
14.12.0 7,805 1/10/2015
14.11.0 5,641 12/8/2014
14.10.0 14,418 11/8/2014
14.9.0 5,442 10/17/2014
14.8.0 11,329 9/10/2014
14.7.0 8,336 8/7/2014
14.6.0 6,941 7/7/2014
14.5.0 9,751 6/3/2014
14.4.0 3,991 5/4/2014
14.3.0 5,104 4/7/2014
14.2.0 4,889 3/14/2014
14.1.0 29,993 2/10/2014
13.12.0 17,579 1/12/2014
13.11.0 23,112 12/10/2013
13.10.0 2,225 11/12/2013
13.9.0 5,686 10/9/2013
13.8.0 3,632 9/4/2013
13.7.0 11,743 8/4/2013
13.6.0 19,359 7/3/2013
13.5.0 3,467 6/4/2013
13.4.0 13,992 5/7/2013
13.3.0 5,983 4/3/2013
13.2.0 2,089 3/4/2013
13.1.0 7,077 2/3/2013
11.11.0 10,665 12/31/2012
11.10.0 4,165 12/4/2012
11.9.0 9,549 11/3/2012
11.8.0 2,597 10/7/2012
11.7.0 3,749 9/3/2012
11.6.0 4,680 8/2/2012
11.5.0 1,232 7/3/2012
11.4.0 6,211 6/4/2012
11.3.0 1,571 5/2/2012
11.2.0 1,142 4/10/2012
11.1.0 2,418 3/3/2012
11.0.0.1 1,054 2/16/2012
11.0.0 1,612 2/1/2012
10.8.0 3,721 1/24/2012