We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Setting document properties

Hello

How can I set Word document properties
I have
this.document = new WordDocument();
but

this.document.Properties
is read-only. I need to write title.

Alexey




1 Reply

NB Nithya B Syncfusion Team August 8, 2014 10:26 AM UTC

Hi Alexey,

Thank you for your interest in Syncfusion products.

Kindly use the BuiltinDocumentProperties.Title property of WordDocument class to set the document properties title in a Word document. Below code snippet illustrates the same.

wordDocument.BuiltinDocumentProperties.Title = "TitleName";

If this is not your exact requirement, kindly provide us more details on your exact requirement.

Please let us know if you have any other questions

 

Regards,

Nithya


Loader.
Live Chat Icon For mobile
Up arrow icon