We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

PDF Modified Date

Thread ID:





144646 May 15,2019 04:31 PM UTC May 16,2019 10:49 AM UTC ASP.NET Core - EJ 2 1
Tags: PDF
Asked On May 15, 2019 04:31 PM UTC

Inside the PdfLoadedAnnotation object is two Modified Date properties. One set to the date min and the other the actual modified date of the document. 

When I attempt to get the modified date, it always gives me the date min and not the actual modified date.

How do you get the real modified date?

Sowmiya Loganathan [Syncfusion]
Replied On May 16, 2019 10:49 AM UTC

Hi Jok, 

Greetings from syncfusion. 

We have checked with the issue which you have mentioned. Kindly use the “PdfLoadedStyledAnnotation” class to retrieve the modified date of existing annotation. Please refer the below code snippet for more details, 

//Get the annotation collection 
PdfLoadedAnnotationCollection collection = loadedDocument.Pages[0].Annotations; 
//Get the annotation 
PdfLoadedStyledAnnotation annotation = collection[0] as PdfLoadedStyledAnnotation; 
//Get modified date  
DateTime modifiedDate = annotation.ModifiedDate; 

Please try the above solution in your end and let us know if it solves the issue. 

Sowmiya L 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon