I am currently evaluating this software and am trying to use DocumentBuilder to insert HTML into a Word document. If I insert an HTML paragraph it works, but it inserts it with line spacing set to 1.5 instead of single. How can I change this? I’ve tried setting ParagraphFormat.LineSpacing = 12 but it doesn’t work.
My code looks like this:
Dim builder as New DocumentBuilder(doc) Builder.MoveToMergeField("Test") builder.ParagraphFormat.LineSpacing = 12 Builder.InsertHTML("<p>Some test data</p>")
My entire document should always have single line spacing, so if there is a way to update the line spacing for the whole document once I’ve finished inserting the HTML then this would do the trick.