sautinsoft.document 2023.4.19

There is a newer version of this package available.
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
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.4.19" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add sautinsoft.document --version 2023.4.19
#r "nuget: sautinsoft.document, 2023.4.19"
#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.4.19

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

Nuget Nuget GitHub

.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

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 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. 
.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)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (5)

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

Package Downloads
Bnsights.Core

Package Description

DocTemplateTool.Word

Specify a template to generate word or Pdf files

JPVTech.Hive.Helper

Package Description

JPVTech.Hive.Model

Package Description

Urbenn.Helper

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2024.4.10 457 4/10/2024
2024.3.3 7,874 3/4/2024
2024.1.9 6,011 1/9/2024
2023.9.10 20,340 9/12/2023
2023.4.19 44,380 4/19/2023
5.8.1.26 27,335 1/26/2023
5.7.11.28 11,126 11/28/2022
5.6.8.16 77,694 8/16/2022
5.5.4.14 24,001 4/14/2022
5.5.3.23 7,546 3/23/2022
5.5.3.15-beta 219 3/16/2022
5.4.12.1 35,885 12/1/2021
5.4.10.29-beta 2,832 10/29/2021
5.3.10.1-beta 367 10/1/2021
5.3.7.20-beta 442 7/21/2021
5.3.6.22 65,638 6/22/2021
5.3.5.11-beta 1,608 5/11/2021
5.3.3.9-beta 495 3/10/2021
5.2.2.16 25,018 2/17/2021
5.2.2.10 1,178 2/10/2021
5.2.2.5-beta 369 2/5/2021
5.0.10.23 36,398 10/23/2020
4.5.6.17 18,635 6/17/2020
4.4.4.8 5,228 4/9/2020
4.3.3.5 11,148 3/5/2020
4.2.1.24 2,120 1/24/2020
4.0.11.12 5,647 11/12/2019
4.0.10.28 6,041 10/25/2019
3.8.6.28 10,853 6/29/2019
3.7.4.3 10,311 4/4/2019
3.6.12.4 8,362 12/5/2018
3.6.11.20 4,460 11/19/2018
3.5.9.26 7,180 9/26/2018
3.4.8.29 7,740 8/29/2018
3.4.8.20 6,819 8/20/2018
3.4.8.14 1,265 8/14/2018
3.3.3.26 3,589 3/26/2018
3.2.2.16 2,332 2/16/2018
3.1.1.3 2,020 12/26/2017
3.0.12.12 1,989 12/13/2017
2.5.3.3 6,651 3/3/2017
2.4.12.23 1,488 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.