Document .Net is 100% C# managed library which gives you API to create, parse, load, modify, convert, edit and merge documents in PDF, DOCX, RTF, HTML and Text formats. Rasterize documents to Images and render to WPF FrameworkElement.
+ Completelly created in managed C#. No Microsoft Office automation.
+ Has own DOCX parser and writer according to ECMA-376 specification.
+ Has own RTF parser and writer according to RTF 1.8 specification.
+ Has own PDF parser  and writer according to PDF reference 1.7.
+ Has own HTML writer according to HTML5 reference.
+ .Net Framework 4.0 and higher.
+ .Net Core 2.0 and higher.
+ .Net Standard 2.0.

There is a newer version of this package available.
See the version list below for details.
Install-Package sautinsoft.document -Version
dotnet add package sautinsoft.document --version
<PackageReference Include="sautinsoft.document" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add sautinsoft.document --version
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: sautinsoft.document,"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install sautinsoft.document as a Cake Addin
#addin nuget:?package=sautinsoft.document&version=

// Install sautinsoft.document as a Cake Tool
#tool nuget:?package=sautinsoft.document&version=
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

News in the version 3.6:
+ Updated the Mail Merge (Reporting) feature and the code examples about it:
+ Improved the RTF reader: fixed the issues with loading of ordered lists. Fixed the processing of RTF documents with East Asian encoding.
+ Improved the HTML reader:
   Fixed the issue with automatic detection of the table cell width, where there is text and the width isn't installed.
   Added new property into HtmlLoadOptions.PreserveHyperlinks. This property was added by a customer request, it allows to set whether to preserve hyperlinks during the HTML loading or skip them.
+ Fixed the issue with cache format in elements derived from Format class (CharacterFormat, ParagraphFormat, ListFormat, etc).
+ Updated the method TableOfEntries.Update(). This method allows to update the table of contents in DOCX or RTF document. Now the result is exactly the same as in MS Word.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on sautinsoft.document:

Package Downloads
Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated 145 7/21/2021 2,436 6/22/2021 450 5/11/2021 188 3/10/2021 4,265 2/17/2021 488 2/10/2021 116 2/5/2021 12,096 10/23/2020 8,645 6/17/2020 2,773 4/9/2020 4,558 3/5/2020 1,300 1/24/2020 3,370 11/12/2019 3,735 10/25/2019 9,061 6/29/2019 6,015 4/4/2019 6,685 12/5/2018 3,472 11/19/2018 2,102 9/26/2018 4,595 8/29/2018 4,340 8/20/2018 812 8/14/2018 2,690 3/26/2018 1,812 2/16/2018 1,265 12/26/2017 980 12/13/2017 4,704 3/3/2017 965 1/5/2017
Show less