The Core component provides the API for programmatically creating, manipulating and protecting PDF documents.
To use the Core component in applications targeting Windows, reference the Winnovative.Pdf.Next.Core.Windows NuGet package, which supports both Windows x64 and Windows ARM64.
For applications targeting Linux, reference the Winnovative.Pdf.Next.Core.Linux NuGet package, which supports both Linux x64 and Linux ARM64.
For applications targeting macOS on Apple Silicon (ARM64), reference the Winnovative.Pdf.Next.Core.MacOS NuGet package.
For applications targeting multiple platforms, reference the Winnovative.Pdf.Next.Core NuGet metapackage, which references the platform-specific Core packages for Windows, Linux and macOS.
The Core component offers functionalities for creating, editing and merging PDF documents.
You can create PDF documents programmatically by adding text, images and other types of elements. You can enhance the generated PDF by adding security features such as encryption, permissions or a digital signature, as well as custom headers and footers or visual elements like stamps and shapes.
A PDF document can be created using the Winnovative.Pdf.NextPdfDocument class, which allows you to add various PDF elements through a simple interface.
You can find a detailed description of the class and its members in the Create PDF Documents documentation section.
The shapes of the document can be painted with gradient fills and the Word, Excel, RTF and Markdown to PDF components render Word documents, Excel workbooks, RTF documents and Markdown content in the pages of the document, between the other elements.
The document can also contain HTML content, pages of other PDF documents and interactive form fields created from code.
The Winnovative.Pdf.NextPdfEditor class allows you to edit existing PDF documents by adding elements on top of them or by changing their properties. The editor can also add, insert, move and rotate the pages of the document, fill, flatten and edit its forms and draw pages of other PDF documents in its pages.
You can find an example of using the class and its members in the Add HTML Stamp to Existing PDF documentation section.
The Winnovative.Pdf.NextPdfMerge class allows you to merge existing PDF documents into a single PDF, as described in the Merge PDF Documents documentation section and the Winnovative.Pdf.NextPdfSplit class extracts pages and splits a document, as described in the Split PDF Documents documentation section.
You can find an example of using the class and its members in the Convert Multiple HTML Pages to PDF in Parallel documentation section.
The Winnovative.Pdf.NextPdfRedactor class permanently removes texts, personal data, areas and pages from existing PDF documents, as described in the Redact Text and Personal Data in PDF, Redact Areas and Pages of PDF and Apply Redaction Annotations in PDF documentation sections.
The HtmlToPdfConverter, HtmlToImageConverter, PdfHtmlHeaderFooter and PdfHtmlTemplate classes are also part of the Core component because they are used by other components of the library.
However, to use these classes you must also reference an additional Core runtime package for the target platform in your project. This is handled automatically when you install the HTML to PDF component NuGet packages, as described in the HTML to PDF Converter Overview documentation section.