Skip to content

Latest commit

 

History

History

General operations

General operations

This group contains samples that cover most general and basic operations with PDF documents that are supported by Docotic.Pdf Library

Don't miss all other samples.

Check if PDF document is a PDF/A compliant one

This sample shows how to check if PDF document is a PDF/A compliant one.

Check if PDF document is password protected

This sample shows how to check if an existing PDF document is password protected.

Check that two PDF documents are equal

This sample shows how to check if two PDF documents are equal (i.e. have the same contents).

Create and save PDF document

This sample shows how to create and save PDF documents using Docotic.Pdf library.

Create PDF document from a Blazor WebAssembly application

This sample shows how to generate PDF documents from a Blazor WebAssembly application.

Error handling

This sample shows how to handle PDF-specific exceptions thrown by Docotic.Pdf library.

Linearize PDF document

This sample shows how to save linearized (or optimized for Fast Web View) PDF documents.

Logging with log4net

This sample shows how to receive log messages from Docotic.Pdf library into a log4net logger.

Logging with NLog

This sample shows how to receive log messages from Docotic.Pdf library into a NLog logger.

Merge two PDF documents

This sample shows how to append an existing PDF document to the end of your current document using PdfDocument.Append method.

Open an existing PDF document

This sample shows how to load an existing PDF document using PdfDocument.Open method.

Create PDF/A compatible document

This sample shows how to create PDF/A compatible documents using Docotic.Pdf library.