Document .Net is 100% C# managed library which gives you API to create, parse, load, modify, convert, edit, generate pie charts, merge, do mail merge and sign digitally documents in PDF, DOCX, RTF, HTML and Text formats. Rasterize documents to Images and render to WPF Framework Element.
+ Completely 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.
+ Create PDF/A compliance documents.
+ Sign digitally PDF documents.
+ .NET Framework 4.0 and higher.
+ .NET Core 2.0 and higher.
+ .NET Standard 2.0.
+ Multi-platform: Windows / Mac OS / Linux.

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

What's new in the version
+ Important! Added new properties DocumentPage.ElementsOnPage and DocumentPage.Content the Page object.
Given this fact, now you will be able to separately manipulate with document pages: for example save a page as new HTML, PDF, DOCX, RTF, Image and Textual document. Insert any any element like images or text in custom pages and specific positions.
+ Added the automatic ability to save images in the same format as they were in the source document, but not only using the default PNG format. For example, when converting PDF to DOCX the all images that were Jpeg, will now also be embedded in DOCX in Jpeg format. Given this fact, this significantly reduces the size of the resulting document.
+ Added the properties SaveOptions.EmbeddedImagesFormat and SaveOptions.EmbeddedJpegQuality properties. This reduces the size of saved DOCX files containing a lot of images from 6 to 10 times.
+ Improved the font family selection algorithm for saving a document in PDF format. This helped us to fix the issue with missing of some Korean characters.
+ HTML writer: Added an Image Cache to avoid duplicating the same images when saving in HTML format.

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,444 6/22/2021 452 5/11/2021 188 3/10/2021 4,316 2/17/2021 488 2/10/2021 116 2/5/2021 12,121 10/23/2020 8,649 6/17/2020 2,776 4/9/2020 4,564 3/5/2020 1,300 1/24/2020 3,370 11/12/2019 3,737 10/25/2019 9,061 6/29/2019 6,020 4/4/2019 6,685 12/5/2018 3,473 11/19/2018 2,105 9/26/2018 4,597 8/29/2018 4,343 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,706 3/3/2017 965 1/5/2017
Show less