Hi,
I am using ASPOSE.WORDS for .NET 4.4.2.
I am struggling trying to create numbered paragraphs by cloning paragraphs from another document and adding them like this:
var clonedSubSectionParagraph = (Paragraph)subSectionParagraph.Clone(true);
clonedSubSectionParagraph.Runs[0].Text = subSection.Title;
clonedSection.Body.Paragraphs.Insert(counter, clonedSubSectionParagraph);
I am guessing there is a better way of doing this.
I am cloning from an existing template document as I don’t want to hard code the style into the document.
Also Is it possible to update the table of contents in 4.4.2?
Thanks
Paul