Hi,
Im using aspose.words in a SharePoint environment,
I´m having trouble finding my custom properties in my Word 2007 document, all it finds is the content type id. Here´s a snippet of code that I use for looping the properties of the document:
oWords = new Aspose.Words.Document(stream);
foreach (Aspose.Words.Properties.DocumentProperty prop in oWords.BuiltInDocumentProperties)
Console.WriteLine("{0} : {1}", prop.Name, prop.Value);
Console.WriteLine("3.Custom Properties");
foreach (Aspose.Words.Properties.DocumentProperty prop in oWords.CustomDocumentProperties)
{
Console.WriteLine("{0} : {1}", prop.Name, prop.Value);
}
I can access the properties if I open the Word document. Any thoughts?