We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Custom Property added on PDF is blank


I am trying to add custom property on PDF using below code.
My PDF is located in tempDir.

Aspose.Pdf.Facades.PdfFileInfo fInfo = new Aspose.Pdf.Facades.PdfFileInfo(tempDir + strNewFileName +".pdf");
fInfo.SetMetaInfo(“processFile”, “true”);

If I try to get the Custom Property information at this stage it works fine.

But if the PDF file is uploaded and then downloaded again , and if I try to retrieve the property value then it is blank.

fInfo.GetMetaInfo(“processFile”) is blank

Is there anything missing ?
How to ensure that Custom Properties are not lost ?



Thanks for contacting support.

Would you please share a sample PDF document, so that we can test the scenario in our environment and address it accordingly. Also it would be really appreciated, if you can add more details about uploading/downloading PDF file. Are you uploading and downloading file from some hosting server? This would help us in testing the scenario accordingly.