Posted 18 June 2019, 5:04 am EST
I want to replace a field with an address block. For example:
Name Company Address
When I use the paragraphs insert command, it inserts an extra paragraph between each line so that the result is:
Name
Company
Address
How can I insert the multi-line text without the extra line feeds? This is a sample of the code that I am using.
ComplexField1 = DocSecRange1.ComplexFields.First ComplexField1.GetRange().Paragraphs.Insert(“Name”, InsertLocation.Before) ComplexField1.GetRange().Paragraphs.Insert(“Company”, InsertLocation.Before) ComplexField1.GetRange().Paragraphs.Insert(“Address”, InsertLocation.Before)