BoldSignA modern eSignature application with affordable pricing. Sign up today for unlimited document usage!
Hi,
Thanks, for your reply. Can you please test attached file to get comments and review statuses.
Thanks,
Neha
/Load the existing PDF document
PdfLoadedDocument loadedDocument = new PdfLoadedDocument("input.pdf");
//Get the existing PDF page
PdfLoadedPage loadedPage = loadedDocument.Pages[0] as PdfLoadedPage;
//Get the annotation
PdfLoadedTextMarkupAnnotation loadedMarkup = loadedPage.Annotations[0] as PdfLoadedTextMarkupAnnotation;
//Get the review history collection for the annotation.
PdfLoadedPopupAnnotationCollection reviewCollection = loadedMarkup.ReviewHistory;
//Get annotation state
PdfAnnotationState state = reviewCollection[0].State;
//Get annotation state model
PdfAnnotationStateModel model = reviewCollection[0].StateModel;
//Get the comments of the annotation
PdfLoadedPopupAnnotationCollection commentsCollection = loadedMarkup.Comments;
//Get the review history of the comment.
PdfLoadedPopupAnnotationCollection reviewCollection1 = commentsCollection[0].ReviewHistory;
//Close the PDF document.
loadedDocument.Close(true); |