File Properties

Hi,

Can we set some properties like 'comments', 'modifier' as File Properties to the output pdf files? I know we can set some properties like Author, Title, Subject etc.

But I can't find any specified property to set like above.

Thanks

Hi,

Thank you for considering Aspose.

Aspose.Pdf.Kit supports the feature of setting user-defined-info, and properties can be added to the output file, as following codes does:

PdfFileInfo pdfinfo = new PdfFileInfo(inFile);

pdfinfo.SetMetaInfo("comments", "my comments...");

pdfinfo.SaveNewInfo(outFile);

Thanks,