What happened to pdf.FoMetaData?

Hello, we are upgrading to the new version 5 from 3.7 of .Net Aspose PDF. What is the equivalent of FoMetaData for the new version?


Thanks!

This message was posted using Page2Forum from Pdf Class - Aspose.Pdf for .NET

Hello Layton,

Thanks for using our products.

I am afraid in recent release versions, we have removed the property named FoMetaData. Please try using pdf1.XmpMetadata property to specify the MetaData information. Please have a look over the following code lines. In case you face any problem or you have any further query, please feel free to contact. We are sorry for this inconvenience.

[C#]

// create XMP Metadata object
XmpMetadata mydata = new XmpMetadata();
// specify the PDF creation date
mydata.AddCreationDate(“23-06-2011”);
// set the Pdf metadata object
pdf1.XmpMetadata = mydata;