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

Free Support Forum - aspose.com

Document.Tag Property

How to add text in Tag section which lies under Details tab of Word properties. Please reply asap.

@sakhan14,

Thanks for your inquiry. Please use BuiltInDocumentProperties.Keywords property as shown below to achieve your requirement.

Document doc = new Document(MyDir + "in.docx");
doc.BuiltInDocumentProperties.Keywords = "Aspose.Words;Tahir";
doc.Save(MyDir + "out.docx");

Thanks Tahir for solution.
Anyway i got solution yesterday by using below code.
foreach (Aspose.Words.Properties.DocumentProperty prop in doc.BuiltInDocumentProperties)
if (prop.Name == “Keywords”)
{
prop.Value = “Checking Tag”;
}

@sakhan14,

Thanks for your feedback. Please feel free to ask if you have any question about Aspose.Words, we will be happy to help you.