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
close icon

PDF Modified Date

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?

1 Reply

SL Sowmiya Loganathan Syncfusion Team 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 

Live Chat Icon For mobile
Up arrow icon