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

Free Support Forum - aspose.com

How to customize the caption of word document window

I need to know how to customize the caption of word document window.
Am using the below code

_wordDocument = new Microsoft.Office.Interop.Word.Application();

Document doc = _wordDocument.Documents.Open(_filePath, ReadOnly: false, Visible: true);

_wordDocument.Caption = "My Caption- " + _wordDocument.Caption;

But while opening the document , the caption of document is like -name of document - My Caption - Microsoft word.

I want caption like “My Caption” followed by document name.

Is any way to achieve this.

Hi Nidhin,

Thanks for your inquiry. Please note that Aspose.Words mimics the same behavior as MS Word does.

Please manually create your expected Word document using Microsoft Word and attach it here for our reference. We will investigate as to how you want your final Word output be generated like. We will then provide you more information on this along with code.