How to add standard and custom Metadata to PDF using iTextSharp
In a previous blog, I explained How to add custom metadata using Syncfusion library. But this package gives so many difficulties when adding metadata to pdf. Such problems are, 1. When once add custom meta data to a pdf, it does not able to change or remove those custom meta data from the pdf. 2. It does not compatible with meta data search engines. It does not show custom meta data properly when those are searched through the search engines. Due to these reasons, Syncfusion is not good library for custom meta data. But, iTextSharp provides flexible framework to deal with custom meta data as well as standard meta data for PDF. Below I have provided the source code to show usage of iTextSharp library. You can download iTextShrp.dll from here PdfReader pdf = new PdfReader(input_path); ...