Mail Merge group display horizontal instead of vertical

I have a mail merge group like <BeginGroup:Person><firstName><EndGroup:Person> and when passed 3 objects will display in a vertical format:
John
Jane
Jacob
can I make it display as:
John Jane Jacob
with docIO?


2 Replies 1 reply marked as answer

CT Corey Thornton August 17, 2022 05:00 PM UTC

or is there a way to replace word paragraph characters?



AN Anto Nihil Sahaya Raj Syncfusion Team August 18, 2022 08:20 AM UTC

Hi Corey,

From the given details, we have found that your requirement is to display the objects in horizontal format while perform mail merge group. To achieve your requirement, we recommend to place both BeginGroup and EndGroup in same paragraph.

We have prepared the sample application to
display the objects in horizontal format while perform mail merge group as per your requirement and it can be downloaded from the below attachment.

Note: Please find the input template Word document in the “Data” folder of the attached sample application.

In this attached sample, we have done the following things.
1. Opens the template Word document.
2. Executes Mail Merge with groups.
3. Saves the Word document.

Please refer our UG documentation to know more about mail merge group,
https://help.syncfusion.com/file-formats/docio/mail-merge/mail-merge-for-group

Regards,
Anto Nihil S

If this post is helpful, please consider Accepting it as the solution so that other members can locate it more quickly.


Attachment: Mailmergewith.NETobjects_c2fa00e6.zip

Marked as answer
Loader.
Up arrow icon