sautinsoft.document
2023.4.19
See the version list below for details.
dotnet add package sautinsoft.document --version 2023.4.19
NuGet\Install-Package sautinsoft.document -Version 2023.4.19
<PackageReference Include="sautinsoft.document" Version="2023.4.19" />
paket add sautinsoft.document --version 2023.4.19
#r "nuget: sautinsoft.document, 2023.4.19"
// Install sautinsoft.document as a Cake Addin #addin nuget:?package=sautinsoft.document&version=2023.4.19 // Install sautinsoft.document as a Cake Tool #tool nuget:?package=sautinsoft.document&version=2023.4.19
.NET SDK to Process & Manipulate Word, PDF documents.
<img src="https://www.sautinsoft.com/images/components/d.svg" alt="Document .Net logo" align="left" />
SautinSoft.Document 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.
Represents you unified DOM (Document Object Model) to operate with for all (PDF, PDF/A, DOCX, DOC, HTML, RTF, Text) formats. Manipulate with Sections, Paragraphs, Tables, Lists, Text, Forms and Fields, Shapes and Graphics, Pictures, Formatting, Document Properties, etc.
Directory | Description |
---|
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 was computed. 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.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
- System.Drawing.Common (>= 4.7.0)
- System.IO.Packaging (>= 4.4.0)
- System.Text.Encoding.CodePages (>= 4.5.0)
- System.Xml.XPath.XmlDocument (>= 4.3.0)
-
.NETCoreApp 2.1
- System.Drawing.Common (>= 4.7.0)
- System.IO.Packaging (>= 4.4.0)
- System.Text.Encoding.CodePages (>= 4.5.0)
- System.Xml.XPath.XmlDocument (>= 4.3.0)
-
.NETCoreApp 2.2
- System.Drawing.Common (>= 4.7.0)
- System.IO.Packaging (>= 4.4.0)
- System.Text.Encoding.CodePages (>= 4.5.0)
- System.Xml.XPath.XmlDocument (>= 4.3.0)
-
.NETCoreApp 3.0
- System.Drawing.Common (>= 4.7.0)
- System.IO.Packaging (>= 4.4.0)
- System.Text.Encoding.CodePages (>= 4.5.0)
- System.Xml.XPath.XmlDocument (>= 4.3.0)
-
.NETCoreApp 3.1
- System.Drawing.Common (>= 4.7.0)
- System.IO.Packaging (>= 4.4.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
- System.Drawing.Common (>= 4.7.0)
- System.IO.Packaging (>= 4.4.0)
- System.Text.Encoding.CodePages (>= 4.5.0)
- System.Xml.XPath.XmlDocument (>= 4.3.0)
-
net5.0
- System.Drawing.Common (>= 4.7.0)
- System.IO.Packaging (>= 4.4.0)
- System.Text.Encoding.CodePages (>= 4.5.0)
- System.Xml.XPath.XmlDocument (>= 4.3.0)
-
net6.0
- System.Drawing.Common (>= 4.7.0)
- System.IO.Packaging (>= 4.4.0)
- System.Text.Encoding.CodePages (>= 4.5.0)
- System.Xml.XPath.XmlDocument (>= 4.3.0)
-
net7.0
- System.Drawing.Common (>= 4.7.0)
- System.IO.Packaging (>= 4.4.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 |
---|---|---|
2025.1.16 | 2,261 | 1/16/2025 |
2024.12.16 | 13,011 | 12/17/2024 |
2024.11.20 | 26,263 | 11/20/2024 |
2024.10.25 | 11,054 | 10/25/2024 |
2024.9.7-beta | 5,619 | 9/9/2024 |
2024.7.19 | 32,555 | 7/19/2024 |
2024.4.24 | 48,807 | 4/24/2024 |
2024.4.10 | 4,257 | 4/10/2024 |
2024.3.3 | 20,271 | 3/4/2024 |
2024.1.9 | 9,258 | 1/9/2024 |
2023.9.10 | 32,135 | 9/12/2023 |
2023.4.19 | 77,122 | 4/19/2023 |
5.8.1.26 | 38,098 | 1/26/2023 |
5.7.11.28 | 15,210 | 11/28/2022 |
5.6.8.16 | 100,224 | 8/16/2022 |
5.5.4.14 | 31,426 | 4/14/2022 |
5.5.3.23 | 10,168 | 3/23/2022 |
5.5.3.15-beta | 673 | 3/16/2022 |
5.4.12.1 | 47,947 | 12/1/2021 |
5.4.10.29-beta | 3,122 | 10/29/2021 |
5.3.10.1-beta | 610 | 10/1/2021 |
5.3.7.20-beta | 669 | 7/21/2021 |
5.3.6.22 | 73,091 | 6/22/2021 |
5.3.5.11-beta | 1,856 | 5/11/2021 |
5.3.3.9-beta | 633 | 3/10/2021 |
5.2.2.16 | 30,585 | 2/17/2021 |
5.2.2.10 | 1,316 | 2/10/2021 |
5.2.2.5-beta | 510 | 2/5/2021 |
5.0.10.23 | 43,047 | 10/23/2020 |
4.5.6.17 | 22,827 | 6/17/2020 |
4.4.4.8 | 5,758 | 4/9/2020 |
4.3.3.5 | 13,431 | 3/5/2020 |
4.2.1.24 | 2,554 | 1/24/2020 |
4.0.11.12 | 6,724 | 11/12/2019 |
4.0.10.28 | 6,150 | 10/25/2019 |
3.8.6.28 | 11,112 | 6/29/2019 |
3.7.4.3 | 11,258 | 4/4/2019 |
3.6.12.4 | 8,818 | 12/5/2018 |
3.6.11.20 | 4,539 | 11/19/2018 |
3.5.9.26 | 7,270 | 9/26/2018 |
3.4.8.29 | 8,618 | 8/29/2018 |
3.4.8.20 | 7,725 | 8/20/2018 |
3.4.8.14 | 1,360 | 8/14/2018 |
3.3.3.26 | 3,694 | 3/26/2018 |
3.2.2.16 | 2,415 | 2/16/2018 |
3.1.1.3 | 2,116 | 12/26/2017 |
3.0.12.12 | 2,089 | 12/13/2017 |
2.5.3.3 | 6,843 | 3/3/2017 |
2.4.12.23 | 1,596 | 1/5/2017 |
We are very excited to announce the official release of our new Document .Net 2023.4!
Starting from this version, assembly numbering will start from "Year/Month/Day". You can always keep track of new releases and get the latest versions.
What's new in the version 2023.4:
+ We've added the ability to use an alternative font, which is loaded from GDIFont.
+ Fixed a bug, where the "PDF to XML" conversion result was empty (not failed).
+ Improved work with Fonts: Now the search for a suitable font is carried out according to several parameters and gives a better match.
+ HTML Reader: Added support for multiple tags, and added an option to recognize the language (En, Ch, Sl, etc) of the content text.
+ RTF Reader:
CheckBoxes are read properly. Fixes error reading value: true/false.
Fixed a bug where the table border was missing.
+ PDF Writer: Fixed a bug with reading images located at the local path: "<img src="file://с:/logo.png">
+ Fixed the minor issues, found and sent to us from our customers. Therefore the component became more error-free.