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

Free Support Forum - aspose.com

How to edit the author and title of the document?

I am a novice, is learning the use of aspose.word for .net, I would like to modify the author , title and other information of the document,but i do not know how to edit it , ask for help,thanks!

Hi Xin,


Thanks for your inquiry. To modify the author, title and other information about the document please use the latest version of Aspose.Words for .NET and try following code example. Hope this helps.

// The path to the documents directory.

string myDir = GetDataDir_WorkingWithDocument();


// Load the document from disk.

Document doc = new Document(myDir + "Your Document Name.doc");

// Modifying Document Title, Subject and Author Name

doc.BuiltInDocumentProperties.Title = "Aspose.Words";

doc.BuiltInDocumentProperties.Subject = "Modifying Document Properties";

doc.BuiltInDocumentProperties.Author = "Jawad Ahmed";


// Save the document to disk.

doc.Save("Updated Document Properties.docx");


For more information, please visit builtindocumentproperties & Working with Document. If you still face any problem, please let us know we will try to help you as much we can. Thanks.

thank you ,Jaward! I have solved it like this

" docx.BuiltInDocumentProperties[“Author”].Value = “aaa”;" ,
but your method is better!
best wishes,and happy new year!

Hi Xin,


I am glad it fixes your issue. If you still face any issue regarding Aspose.Words, please let us know we will try to help you as much we can. Thanks. Happy New Year.