SautinSoft.Pdf 2024.10.30

dotnet add package SautinSoft.Pdf --version 2024.10.30                
NuGet\Install-Package SautinSoft.Pdf -Version 2024.10.30                
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.Pdf" Version="2024.10.30" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SautinSoft.Pdf --version 2024.10.30                
#r "nuget: SautinSoft.Pdf, 2024.10.30"                
#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.Pdf as a Cake Addin
#addin nuget:?package=SautinSoft.Pdf&version=2024.10.30

// Install SautinSoft.Pdf as a Cake Tool
#tool nuget:?package=SautinSoft.Pdf&version=2024.10.30                

Nuget Nuget GitHub

PDF .Net is a .NET component built to allow developers to create PDF documents, whether simple or complex, on the fly programmatically.

pdf

PDF .Net allows developers to insert tables, graphs, images, hyperlinks, custom fonts - and more - into PDF documents.

===============================

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

===============================

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

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 17,160 10/30/2024
2024.9.18-beta 4,736 9/19/2024
2024.8.8 13,185 8/9/2024
2024.6.18 4,315 6/18/2024
2024.4.3 3,990 4/3/2024

What's new in the version PDF .Net 2024.10: https://sautinsoft.com/products/pdf/help/net/release-notes/