DocumentProperties.CreatedTime can't be assigned

Hi
I started to use the latest Aspose.Slides dll.
I have the following code:
presentation.DocumentProperties.CreatedTime = new DateTime(2000, 1, 1);
presentation.DocumentProperties.LastPrinted = new DateTime(2000, 1, 1);
I got the following errors:
‘Aspose.Slides.IDocumentProperties.CreatedTime’ cannot be assigned to – it is read only

I didn’t get the errors with the previous dll.

Please advise
oren

Hi Oren,


Thank you for posting.

I have observed your comments and like to share with you that I am able to notice this on my end while using Aspose.Slides for .NET 16.3.0. The same is happening with Aspose.Slides for .NET 16.2.0 so I request you to please specify which version you were using earlier in which it did not appear, so that we may proceed further to help you out.

Best Regards,

Thanks.
I was using 15.10.0.0

Hi Oren,

I would like to share with you that as explained in release notes of Asposese.Slides for .NET 16.2.0, the properties, Presentation.DocumentProperties.CreatedTime, LastSavedTime and LastPrinted were changed to read-only. This is why you are getting the message “Aspose.Slides.IDocumentProperties.CreatedTime’ cannot be assigned to – it is read only”, I am afraid you may not set these properties with latest available version of Aspose.Slides.

I hope this will clarify the concept. Please share if I may help you further in this regard.

Best Regards,