sautinsoft.document 2023.9.10

.NET 5.0 .NET Core 2.0 .NET Standard 2.0 .NET Framework 4.6.1
dotnet add package sautinsoft.document --version 2023.9.10
NuGet\Install-Package sautinsoft.document -Version 2023.9.10
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="sautinsoft.document" Version="2023.9.10" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add sautinsoft.document --version 2023.9.10
#r "nuget: sautinsoft.document, 2023.9.10"
#r directive can be used in F# Interactive and Polyglot Notebooks. 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=2023.9.10

// Install sautinsoft.document as a Cake Tool
#tool nuget:?package=sautinsoft.document&version=2023.9.10

Nuget Nuget GitHub

.NET SDK to Process & Manipulate Word, PDF documents.


Document .Net is .NET assembly (SDK) which gives API to Create, Read, Write, Edit, View, Convert, Merge, Sign Digitally, Find and Replace, Do Reporting with PDF, DOC, DOCX, HTML, RTF and Text documents, Rasterize to Image.


Top Features


System Requirement


  • .NET Framework 4.6.1 - 4.8.1
  • .NET Core 2.0 - 3.1, .NET 5, 6, 7, 8
  • .NET Standard 2.0
  • Windows, Linux, macOS, Android, iOS.

Getting Started with Document .Net

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

Convert DOCX to PDF

string inpFile = @"..\..\example.docx";
string outFile = @"Result.pdf";
DocumentCore dc = DocumentCore.Load(inpFile);

Create DOCX document on the fly

Set a path to our document.
    string docPath = @"Result-DocumentBuilder.docx";

    // Create a new document and DocumentBuilder.
    DocumentCore dc = new DocumentCore();
    DocumentBuilder db = new DocumentBuilder(dc);

    // Set page size A4.
    Section section = db.Document.Sections[0];
    section.PageSetup.PaperType = PaperType.A4;

    // Add 1st paragraph with formatted text.
    db.CharacterFormat.FontName = "Verdana";
    db.CharacterFormat.Size = 16;
    db.CharacterFormat.FontColor = Color.Orange;
    db.Write("This is a first line in 1st paragraph!");
    // Save the document to the file in DOCX format.
    dc.Save(docPath, new DocxSaveOptions()



Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 is compatible.  netcoreapp2.1 is compatible.  netcoreapp2.2 is compatible.  netcoreapp3.0 is compatible.  netcoreapp3.1 is compatible. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 is compatible.  net462 is compatible.  net463 was computed.  net47 is compatible.  net471 is compatible.  net472 is compatible.  net48 is compatible.  net481 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (5)

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

Package Downloads

Package Description


Specify a template to generate word or Pdf files


Package Description


Package Description


Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2023.9.10 5,171 9/12/2023
2023.4.19 26,291 4/19/2023 21,601 1/26/2023 9,209 11/28/2022 58,402 8/16/2022 22,095 4/14/2022 6,494 3/23/2022 210 3/16/2022 30,694 12/1/2021 2,809 10/29/2021 349 10/1/2021 431 7/21/2021 61,619 6/22/2021 1,531 5/11/2021 488 3/10/2021 22,073 2/17/2021 1,134 2/10/2021 358 2/5/2021 33,158 10/23/2020 16,498 6/17/2020 4,974 4/9/2020 9,658 3/5/2020 1,976 1/24/2020 5,247 11/12/2019 5,999 10/25/2019 10,637 6/29/2019 9,572 4/4/2019 8,112 12/5/2018 4,437 11/19/2018 7,128 9/26/2018 7,110 8/29/2018 6,506 8/20/2018 1,228 8/14/2018 3,545 3/26/2018 2,315 2/16/2018 1,983 12/26/2017 1,954 12/13/2017 6,385 3/3/2017 1,457 1/5/2017

We are very excited to announce the official release of our new Document .Net 2023.9!
We've prepared many fixes and improvements. Let's see what's new:
+ DocumentCore: MailMerge - fixed bug with erroneous definition of CharacterFormat (font, size, color).
+ HTML Writer:
Fixed an issue with </li> closing tag. Previously, there were situations when <li>...</li> did not always work correctly.
Added processing of special characters &fraq12; and others for European languages.
+ RTF Writer:
The border design of the table was broken during conversion. Fixed.
Fixed "h.PageStyle.PageHeader.MarginBottom" not working correctly.
+ RTF Reader:
The bug with reading the list marker has been fixed.
+ DOCX Writer:
Added a new property h.TableAutoFit = true, when it is enabled, the widths of the columns in the table change depending on the amount of text in them. (the more text, the larger the column). Default: disabled.
There was a problem with the layout style after converting. Partially corrected.
+ PDF Writer:
Some letters and punctuation marks are missing after conversion. We made changes and improved our algorithm.
Fixed an issue with text alignment when converting DOCX to PDF.
Sometimes the text stretched over several pages. Made an optimization.
+ .NET 8.0 support: Starting from the version 2023.9 appeared the SautinSoft.Document.dll assemblies compiled for a unified platform .NET 8.0.
+ Fixed the minor issues, found and sent to us from our customers. Therefore the component became more error-free.