Manage Annotations in PDF via C#
Managing annotations in PDF document. Use Aspose.PDF for .NET to modify PDF files programmatically
How to Manage Annotations Using .NET Library
In order to add Text Annotation in PDF file, we’ll use Aspose.PDF for .NET API which is a feature-rich, powerful and easy to use document manipulation API for net platform. Open NuGet package manager, search for Aspose.PDF and install. You may also use the following command from the Package Manager Console.
Create Annotations in PDF document via C#
You need Aspose.PDF for.NET to try the code in your environment.
- Load PDF in an instance of Document class.
- Create an annotation that you want to add to the PDF.
- Add the annotation to the Page object’s Annotations collection.
- Save the PDF file.