Posted 27 March 2024, 3:43 pm EST
Im trying to update the bookmark in a word document using below c# code. But it is not updating it.
var doc = new GcWordDocument();
doc.Load(@“H:\aspose_templates\template.dotx”);
doc.Body.Bookmarks.FirstOrDefault()?.Name.Replace(“name”,“NewName”);
doc.Save(@“H:\aspose_templates\new\template.docx”);