I'm using Aspose.pdf.kit 3.7, I need to update the pdf file properties comments,category and date modified, the below code run thru without any exceptions, but fields were not updated.
PdfFileInfo fileInfo = new PdfFileInfo(LocalFileName); fileInfo.SetMetaInfo("comments", "This is test comment"); fileInfo.SaveNewInfo(NewFileName);
However, if you’re trying to update an existing custom property and it is not working at your end the please share the sample PDF file. We’ll need to test the issue at your end. You’ll be updated accordingly.