Find out if PDF document has any comments

Hi,

We have requirement to parse pdf file and find out if PDF document has any comments for for pdf content in C#. Please let us know which Aspose library we can use to achieve this requirement and please post code snippet here.

Thanks,
Mahesh ​

@mahesh.indalkar

Mostly, the comments are added as annotation in the PDF documents. You can extract annotations using Aspose.PDF for .NET. Please check below documentation articles:

  1. Get All Annotations from Page of PDF Document
  2. Get Particular Annotation from PDF File

In case you face any issues, please share your sample PDF document with us so that we can test the scenario in our environment and address it accordingly.