Extract PDF Metadata via C#
How to Edit PDF Metadata Using .NET Library
How to Extract PDF Metadata Using .NET Library
In order to Extract Metadata from PDF files, we’ll use Aspose.PDF for .NET API, which is a feature-rich, powerful, and easy-to-use document manipulation API for .NET. Open NuGet package manager, search for Aspose.PDF and install. You may also use the following command from the Package Manager Console.
Extract PDF Metadata via C#
To try the code in your environment, you need Aspose.PDF for .NET.
- Load the PDF with an instance of Document.
- Get DocumentInfo using Document.Info property.
- Access & display different Document.Info properties.
System Requirements
Just make sure that you have the following prerequisites.
- Microsoft Windows or a compatible OS with .NET Framework, .NET Core, and PHP, VBScript, Delphi, C++ via COM Interop.
- Development environment like Microsoft Visual Studio.
- Aspose.PDF for .NET DLL referenced in your project.
Extract Metadata of PDF - C#.
About Aspose.PDF for C# API
Aspose.PDF API can be used for PDF document manipulation and parsing within applications. One can create, modify, compress, secure, print or save PDF to TXT, HTML, PCL, XFA, XML, XPS, EPUB, TEX, Images and more formats. Aspose.PDF is a standalone API and it does not depend on any software including Adobe Acrobat.