sautinsoft.pdf 2024.4.3

dotnet add package sautinsoft.pdf --version 2024.4.3
NuGet\Install-Package sautinsoft.pdf -Version 2024.4.3
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.4.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add sautinsoft.pdf --version 2024.4.3
#r "nuget: sautinsoft.pdf, 2024.4.3"
#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.4.3

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

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.

https://github.com/SautinSoft/SautinSoft.Pdf.Examples/assets/79837963/c33f0a02-eb2c-4831-b7b1-4e776311f744

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.7.2. and higher
  • .NET 5 and higher
  • .NET Core

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. 
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.4.3 1,073 4/3/2024

Released first version PDF .Net 2024.4.3!
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.
Moreover, it is also possible to compress PDF documents.
PDF .NET provides excellent security features to develop secure PDF documents.
Best of all, it requires only .NET – it doesn’t rely on Adobe Acrobat or any other third-party software.