The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
PRPoorani Rajendran Syncfusion Team August 26, 2019 07:47 AM UTC
Hi Robin,
Thank you for contacting Syncfusion support.
To meet your requirement, we suggest you use BuiltinDocumentProperties API to set the required built in document properties of the Word document. Please use the below highlighted code snippet in your sample application to set the document properties of the Word document.
Please use the below highlighted code snippet in your sample application:
//Loads an existing Word document template WordDocument document = new WordDocument(“Input.docx”); //Sets the title Built-in document properties document.BuiltinDocumentProperties.Title = "This is the title of the Word document"; //Sets the subject Built-in document properties document.BuiltinDocumentProperties.Subject = "Subject of the Word document"; //Sets the author Built-in document properties document.BuiltinDocumentProperties.Author = "Robin"; //Sets the manager Built-in document properties document.BuiltinDocumentProperties.Manager = "Robin Knight"; //Sets the company Built-in document properties document.BuiltinDocumentProperties.Company = "Northwind traders"; //Sets the category Built-in document properties document.BuiltinDocumentProperties.Category = "Sales reports"; //Sets the keyword Built-in document properties document.BuiltinDocumentProperties.Keywords = "KeyWord"; //Sets the comments Built-in document properties document.BuiltinDocumentProperties.Comments = "This is the Word document"; //Saves and closes the document instance document.Save("Result.docx”); document.Close();