Skip to footer content

How to Set and Edit PDF Metadata in C#

Unlock the full potential of IronPDF by watching this tutorial, where you'll master creating richly detailed PDF documents in C# and learn to enhance their utility with custom metadata properties.

This tutorial provides a comprehensive guide on using IronPDF within C# to generate PDF documents enriched with custom metadata. Starting with the setup in Visual Studio, it ensures the IronPDF Library is installed and ready for use. The tutorial takes you through importing the necessary namespaces and initializing a Chrome PDF render instance. By passing an HTML string to the render HTML as PDF method, you create the document's content. The metadata class within the PDF object allows setting various properties such as author, creation date, title, and more, enhancing the document's utility for categorization and archiving. Finally, the tutorial demonstrates saving the PDF using the save as method with a specified file name. By executing the program, users can verify the embedded metadata by checking the document properties. This tutorial is not only a valuable resource for generating PDFs but also highlights the broader applications and features of IronPDF. The video encourages viewers to explore further through available links and to try the software themselves for a hands-on experience.

Related Videos