Docotic.Pdf Library Help > Samples > General operations

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

Create and save PDF document

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

Load an existing PDF document

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

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.

Check if PDF document is password protected

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

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.

Create PDF/A compatible document

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

Linearize PDF document

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

Error handling

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

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).