sautinsoft.document
2023.9.10
See the version list below for details.
dotnet add package sautinsoft.document --version 2023.9.10
NuGet\Install-Package sautinsoft.document -Version 2023.9.10
<PackageReference Include="sautinsoft.document" Version="2023.9.10" />
paket add sautinsoft.document --version 2023.9.10
#r "nuget: sautinsoft.document, 2023.9.10"
// 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
.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.
Quick links
===============================
Top Features
===============================
- Create a document in PDF, DOCX, RTF, HTML formats.
- Load a document in PDF, DOCX, RTF, HTML formats.
- Save a document as PDF, DOCX, RTF, HTML Flowing and Fixed, Text.
- Convert and Merge documents.
- Protect and encrypt documents.
- Digitally sign documents.
- Make PDF/A compliance.
- Perform Mail Merge process.
- Obvious Document Object Model.
- Rasterize a document or specific pages to Image.
- Get and set a Header / Footer, Page Setup.
- Add Page Numbering, Text Columns.
- Perform Pagination and get document pages.
- Find and Replace content.
- Manipulate with Tables, Paragraphs and Text.
- Add and Extract Pictures.
- Work with Shapes, Shape groups and Geometry.
- Get and set Formatting and Styles.
- Work with ordered and unordered Lists.
- Insert and Update TOC - table of contents.
- Work with Forms and Fields.
- Change Document Properties: Author, Title, Creator, etc.
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);
dc.Save(outFile);
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()
Resources
===============================
Product | Versions 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-browser 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. |
-
.NETCoreApp 2.0
- Microsoft.IO.RecyclableMemoryStream (>= 2.3.2)
- System.Configuration.ConfigurationManager (>= 4.7.0)
- System.Drawing.Common (>= 4.7.3)
- System.IO.Packaging (>= 4.4.0)
- System.Security.Cryptography.Pkcs (>= 4.7.0)
- System.Text.Encoding.CodePages (>= 4.5.0)
- System.Xml.XPath.XmlDocument (>= 4.3.0)
-
.NETCoreApp 2.1
- Microsoft.IO.RecyclableMemoryStream (>= 2.3.2)
- System.Configuration.ConfigurationManager (>= 4.7.0)
- System.Drawing.Common (>= 4.7.3)
- System.IO.Packaging (>= 4.4.0)
- System.Security.Cryptography.Pkcs (>= 4.7.0)
- System.Text.Encoding.CodePages (>= 4.5.0)
- System.Xml.XPath.XmlDocument (>= 4.3.0)
-
.NETCoreApp 2.2
- Microsoft.IO.RecyclableMemoryStream (>= 2.3.2)
- System.Configuration.ConfigurationManager (>= 4.7.0)
- System.Drawing.Common (>= 4.7.3)
- System.IO.Packaging (>= 4.4.0)
- System.Security.Cryptography.Pkcs (>= 4.7.0)
- System.Text.Encoding.CodePages (>= 4.5.0)
- System.Xml.XPath.XmlDocument (>= 4.3.0)
-
.NETCoreApp 3.0
- Microsoft.IO.RecyclableMemoryStream (>= 2.3.2)
- System.Configuration.ConfigurationManager (>= 4.7.0)
- System.Drawing.Common (>= 4.7.3)
- System.IO.Packaging (>= 4.4.0)
- System.Security.Cryptography.Pkcs (>= 4.7.0)
- System.Text.Encoding.CodePages (>= 4.5.0)
- System.Xml.XPath.XmlDocument (>= 4.3.0)
-
.NETCoreApp 3.1
- Microsoft.IO.RecyclableMemoryStream (>= 2.3.2)
- System.Configuration.ConfigurationManager (>= 4.7.0)
- System.Drawing.Common (>= 4.7.3)
- System.IO.Packaging (>= 4.4.0)
- System.Security.Cryptography.Pkcs (>= 4.7.0)
- System.Text.Encoding.CodePages (>= 4.5.0)
- System.Xml.XPath.XmlDocument (>= 4.3.0)
-
.NETFramework 4.6.1
- No dependencies.
-
.NETFramework 4.6.2
- No dependencies.
-
.NETFramework 4.7
- No dependencies.
-
.NETFramework 4.7.2
- No dependencies.
-
.NETFramework 4.8
- No dependencies.
-
.NETFramework 4.8.1
- No dependencies.
-
.NETStandard 2.0
- Microsoft.IO.RecyclableMemoryStream (>= 2.3.2)
- System.Configuration.ConfigurationManager (>= 4.7.0)
- System.Drawing.Common (>= 4.7.3)
- System.IO.Packaging (>= 4.4.0)
- System.Security.Cryptography.Pkcs (>= 4.7.0)
- System.Text.Encoding.CodePages (>= 4.5.0)
- System.Xml.XPath.XmlDocument (>= 4.3.0)
-
net5.0
- Microsoft.IO.RecyclableMemoryStream (>= 2.3.2)
- System.Configuration.ConfigurationManager (>= 4.7.0)
- System.Drawing.Common (>= 4.7.3)
- System.IO.Packaging (>= 4.4.0)
- System.Security.Cryptography.Pkcs (>= 4.7.0)
- System.Text.Encoding.CodePages (>= 4.5.0)
- System.Xml.XPath.XmlDocument (>= 4.3.0)
-
net6.0
- Microsoft.IO.RecyclableMemoryStream (>= 2.3.2)
- System.Configuration.ConfigurationManager (>= 4.7.0)
- System.Drawing.Common (>= 4.7.3)
- System.IO.Packaging (>= 4.4.0)
- System.Security.Cryptography.Pkcs (>= 4.7.0)
- System.Text.Encoding.CodePages (>= 4.5.0)
- System.Xml.XPath.XmlDocument (>= 4.3.0)
-
net7.0
- Microsoft.IO.RecyclableMemoryStream (>= 2.3.2)
- System.Configuration.ConfigurationManager (>= 4.7.0)
- System.Drawing.Common (>= 4.7.3)
- System.IO.Packaging (>= 4.4.0)
- System.Security.Cryptography.Pkcs (>= 4.7.0)
- System.Text.Encoding.CodePages (>= 4.5.0)
- System.Xml.XPath.XmlDocument (>= 4.3.0)
-
net8.0
- Microsoft.IO.RecyclableMemoryStream (>= 2.3.2)
- System.Configuration.ConfigurationManager (>= 4.7.0)
- System.Drawing.Common (>= 4.7.3)
- System.IO.Packaging (>= 4.4.0)
- System.Security.Cryptography.Pkcs (>= 4.7.0)
- System.Text.Encoding.CodePages (>= 4.5.0)
- System.Xml.XPath.XmlDocument (>= 4.3.0)
NuGet packages (5)
Showing the top 5 NuGet packages that depend on sautinsoft.document:
Package | Downloads |
---|---|
Bnsights.Core
Package Description |
|
JPVTech.Hive.Helper
Package Description |
|
JPVTech.Hive.Model
Package Description |
|
DocTemplateTool.Word
Specify a template to generate word or Pdf files |
|
Urbenn.Helper
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2024.10.25 | 4,146 | 10/25/2024 |
2024.9.7-beta | 1,973 | 9/9/2024 |
2024.7.19 | 23,760 | 7/19/2024 |
2024.4.24 | 37,473 | 4/24/2024 |
2024.4.10 | 2,235 | 4/10/2024 |
2024.3.3 | 19,068 | 3/4/2024 |
2024.1.9 | 7,693 | 1/9/2024 |
2023.9.10 | 28,356 | 9/12/2023 |
2023.4.19 | 71,054 | 4/19/2023 |
5.8.1.26 | 35,084 | 1/26/2023 |
5.7.11.28 | 13,655 | 11/28/2022 |
5.6.8.16 | 95,053 | 8/16/2022 |
5.5.4.14 | 29,213 | 4/14/2022 |
5.5.3.23 | 9,232 | 3/23/2022 |
5.5.3.15-beta | 340 | 3/16/2022 |
5.4.12.1 | 44,969 | 12/1/2021 |
5.4.10.29-beta | 3,052 | 10/29/2021 |
5.3.10.1-beta | 474 | 10/1/2021 |
5.3.7.20-beta | 532 | 7/21/2021 |
5.3.6.22 | 70,332 | 6/22/2021 |
5.3.5.11-beta | 1,786 | 5/11/2021 |
5.3.3.9-beta | 583 | 3/10/2021 |
5.2.2.16 | 29,088 | 2/17/2021 |
5.2.2.10 | 1,270 | 2/10/2021 |
5.2.2.5-beta | 469 | 2/5/2021 |
5.0.10.23 | 41,253 | 10/23/2020 |
4.5.6.17 | 22,149 | 6/17/2020 |
4.4.4.8 | 5,611 | 4/9/2020 |
4.3.3.5 | 13,112 | 3/5/2020 |
4.2.1.24 | 2,374 | 1/24/2020 |
4.0.11.12 | 6,338 | 11/12/2019 |
4.0.10.28 | 6,112 | 10/25/2019 |
3.8.6.28 | 11,056 | 6/29/2019 |
3.7.4.3 | 11,071 | 4/4/2019 |
3.6.12.4 | 8,691 | 12/5/2018 |
3.6.11.20 | 4,513 | 11/19/2018 |
3.5.9.26 | 7,241 | 9/26/2018 |
3.4.8.29 | 8,315 | 8/29/2018 |
3.4.8.20 | 7,501 | 8/20/2018 |
3.4.8.14 | 1,331 | 8/14/2018 |
3.3.3.26 | 3,665 | 3/26/2018 |
3.2.2.16 | 2,389 | 2/16/2018 |
3.1.1.3 | 2,083 | 12/26/2017 |
3.0.12.12 | 2,061 | 12/13/2017 |
2.5.3.3 | 6,792 | 3/3/2017 |
2.4.12.23 | 1,563 | 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.