SautinSoft.Pdf
2024.9.18-beta
See the version list below for details.
dotnet add package SautinSoft.Pdf --version 2024.9.18-beta
NuGet\Install-Package SautinSoft.Pdf -Version 2024.9.18-beta
<PackageReference Include="SautinSoft.Pdf" Version="2024.9.18-beta" />
paket add SautinSoft.Pdf --version 2024.9.18-beta
#r "nuget: SautinSoft.Pdf, 2024.9.18-beta"
// Install SautinSoft.Pdf as a Cake Addin #addin nuget:?package=SautinSoft.Pdf&version=2024.9.18-beta&prerelease // Install SautinSoft.Pdf as a Cake Tool #tool nuget:?package=SautinSoft.Pdf&version=2024.9.18-beta&prerelease
PDF .Net is a .NET component built to allow developers to create PDF documents, whether simple or complex, on the fly programmatically.
PDF .Net allows developers to insert tables, graphs, images, hyperlinks, custom fonts - and more - into PDF documents.
Quick links
===============================
Top Features
===============================
Merge, split, and create PDF files.
Convert PDF files to image, such as PNG, JPEG, GIF, BMP, TIFF.
Extract elements from PDF.
View PDF files in WPF applications.
Annotate PDF pages with hyperlinks.
Fill in, flatten, read, and export interactive forms.
Read, write, and update PDF files.
Get, create, or edit bookmarks (outlines) and document properties.
Extract images from PDF files and OCR text from scanned PDFs.
Add text, images, shapes (paths), form XObjects, content groups, marked content, and format the content.
Encrypt and digitally sign PDF files. Clone or import pages between PDF documents.
Add watermarks, headers, footers, and viewer preferences to PDF pages.
Get, create, remove, or reorder pages.
Code samples right here: https://github.com/SautinSoft/SautinSoft.Pdf.Examples
Supported PDF versions:
===============================
- PDF versions 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, PDF/A, 2.0.
Fonts:
===============================
- A lot of core fonts.
- Type 1 fonts.
- TrueType fonts.
- Type 3 fonts.
- CJK fonts.
- Unicode support
Platforms:
===============================
- .NET Framework 4.6.2. and higher
- .NET 6 and higher
OS Support:
===============================
- All versions of Windows (32-bit and 64-bit).
- All versions of Linux (with .NET inside / 32-bit and 64-bit).
- Cloud Computing Services: AWS, Azure, Google Cloud, etc.
Getting Started with PDF .Net
===============================
Are you ready to give PDF .NET a try? Simply execute Install-Package sautinsoft.pdf
from Package Manager Console in Visual Studio to fetch the NuGet package. If you already have PDF .NET and want to upgrade the version, please execute Update-Package sautinsoft.pdf
to get the latest version.
Convert PDF document
// Load a PDF document.
using (var document = PdfDocument.Load(@"..\..\..\simple text.pdf"))
{
// Create image save options.
var imageOptions = new ImageSaveOptions(ImageSaveFormat.Jpeg)
{ PageIndex = 0,
// PageNumber = 0, // Select the first PDF page.
Width = 1240 // Set the image width and keep the aspect ratio.
};
// Save a PDF document to a JPEG file.
document.Save("Output.jpg", imageOptions);
PDF. Document properties
using (var document = PdfDocument.Load(pdfFile))
{
// Get document properties.
var info = document.Info;
// Update document properties.
info.Title = "My Title";
info.Author = "My Author";
info.Subject = "My Subject";
info.Creator = "My Application";
// Update producer and date information, and disable their overriding.
info.Producer = "My Producer";
info.CreationDate = new DateTime(2023, 1, 1, 12, 0, 0);
info.ModificationDate = new DateTime(2023, 1, 1, 12, 0, 0);
document.SaveOptions.UpdateProducerInformation = false;
document.SaveOptions.UpdateDateInformation = false;
document.Save("Document Properties.pdf");
}
Read PDF document
string pdfFile = Path.GetFullPath(@"..\..\..\simple text.pdf");
using (var document = PdfDocument.Load(pdfFile))
{
foreach (var page in document.Pages)
{
Console.WriteLine(page.Content.ToString());
}
}
Resources
===============================
- Website: www.sautinsoft.com
- Product Home: PDF .Net
- Download PDF .Net
- Developer Guide
- API Reference
- Support Team
- License
PDF .Net totally simplifies the development of .NET applications where require to manipulate with PDF documents. Let us say, to provide the method to rotate a page in PDF document, you have add only the reference to the "SautinSoft.Pdf.dll" and write 3-4 C# lines in your application.
If you need any help with code samples, API, prices or another issues, please use our WebChat, Skype, Email, Phones:
+46 855924509 (Support) +46 812111486 (Sales) Skype: sautinsoft.support Email: support@sautinsoft.com
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | 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 was computed. 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 Framework | net462 is compatible. net463 was computed. net47 was computed. net471 is compatible. net472 is compatible. net48 is compatible. net481 was computed. |
-
.NETFramework 4.6.2
- Pkcs11Interop (>= 5.1.2)
- Portable.BouncyCastle (>= 1.9.0)
- SkiaSharp (>= 2.88.7)
- SkiaSharp.HarfBuzz (>= 2.88.7)
- Svg.Skia (>= 1.0.0.18)
- System.IO.Packaging (>= 4.4.0)
- System.Text.Encoding.CodePages (>= 4.5.0)
- System.Xml.XPath.XmlDocument (>= 4.3.0)
- Tesseract (>= 5.2.0)
- Tesseract.Data.English (>= 4.0.0)
-
.NETFramework 4.7.1
- Pkcs11Interop (>= 5.1.2)
- Portable.BouncyCastle (>= 1.9.0)
- SkiaSharp (>= 2.88.7)
- SkiaSharp.HarfBuzz (>= 2.88.7)
- Svg.Skia (>= 1.0.0.18)
- System.IO.Packaging (>= 4.4.0)
- System.Text.Encoding.CodePages (>= 4.5.0)
- System.Xml.XPath.XmlDocument (>= 4.3.0)
- Tesseract (>= 5.2.0)
- Tesseract.Data.English (>= 4.0.0)
-
.NETFramework 4.7.2
- Pkcs11Interop (>= 5.1.2)
- Portable.BouncyCastle (>= 1.9.0)
- SkiaSharp (>= 2.88.7)
- SkiaSharp.HarfBuzz (>= 2.88.7)
- Svg.Skia (>= 1.0.0.18)
- System.IO.Packaging (>= 4.4.0)
- System.Text.Encoding.CodePages (>= 4.5.0)
- System.Xml.XPath.XmlDocument (>= 4.3.0)
- Tesseract (>= 5.2.0)
- Tesseract.Data.English (>= 4.0.0)
-
.NETFramework 4.8
- Pkcs11Interop (>= 5.1.2)
- Portable.BouncyCastle (>= 1.9.0)
- SkiaSharp (>= 2.88.7)
- SkiaSharp.HarfBuzz (>= 2.88.7)
- Svg.Skia (>= 1.0.0.18)
- System.IO.Packaging (>= 4.4.0)
- System.Text.Encoding.CodePages (>= 4.5.0)
- System.Xml.XPath.XmlDocument (>= 4.3.0)
- Tesseract (>= 5.2.0)
- Tesseract.Data.English (>= 4.0.0)
-
net6.0
- Pkcs11Interop (>= 5.1.2)
- Portable.BouncyCastle (>= 1.9.0)
- SkiaSharp (>= 2.88.7)
- SkiaSharp.HarfBuzz (>= 2.88.7)
- SkiaSharp.NativeAssets.Linux (>= 2.88.7)
- SkiaSharp.NativeAssets.macOS (>= 2.88.7)
- Svg.Skia (>= 1.0.0.18)
- System.IO.Packaging (>= 4.4.0)
- System.Text.Encoding.CodePages (>= 4.5.0)
- System.Xml.XPath.XmlDocument (>= 4.3.0)
- Tesseract (>= 5.2.0)
- Tesseract.Data.English (>= 4.0.0)
-
net8.0
- Pkcs11Interop (>= 5.1.2)
- Portable.BouncyCastle (>= 1.9.0)
- SkiaSharp (>= 2.88.7)
- SkiaSharp.HarfBuzz (>= 2.88.7)
- SkiaSharp.NativeAssets.Linux (>= 2.88.7)
- SkiaSharp.NativeAssets.macOS (>= 2.88.7)
- Svg.Skia (>= 1.0.0.18)
- System.IO.Packaging (>= 4.4.0)
- System.Text.Encoding.CodePages (>= 4.5.0)
- System.Xml.XPath.XmlDocument (>= 4.3.0)
- Tesseract (>= 5.2.0)
- Tesseract.Data.English (>= 4.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2024.10.30 | 15,765 | 10/30/2024 |
2024.9.18-beta | 4,347 | 9/19/2024 |
2024.8.8 | 13,081 | 8/9/2024 |
2024.6.18 | 4,167 | 6/18/2024 |
2024.4.3 | 3,929 | 4/3/2024 |
What's new in the version PDF .Net 2024.9: https://sautinsoft.com/products/pdf/help/net/release-notes/