MailMerge with region- records alignment

Is it possible during a image mailMerge with region that the records are one next to the others instead of one under the others ?

photo1 photo2 photo3

instead of


Hi there,

Thanks for your inquiry.

Please use MailMerge.UseWholeParagraphAsRegion property to get or set a value indicating whether paragraph with TableStart or TableEnd field should be fully included into mail merge region or particular range between TableStart and TableEnd fields.

You need to set the value of Document.MailMerge.UseWholeParagraphAsRegion to false to get the required output.

doc.MailMerge.UseWholeParagraphAsRegion = false;

Hello, thanks for the quick response but I still have my problem.

In my code :

DataTable dataTable = new DataTable();
dataTable.TableName = "Photos";
dataTable.Columns.Add("Photo", typeof(byte[]));

mergedDocument.MailMerge.UseWholeParagraphAsRegion = false;

In my model .doc : Capture.png
In my result : capture2.png
My want : capture3.png

Hi there,

Thanks for your inquiry. To ensure a timely and accurate response, please attach the following resources here for testing:

  • Your input Word document.
  • Please create a standalone console application (source code without compilation errors) that helps us to reproduce your problem on our end and attach it here for testing.

As soon as you get these pieces of information ready, we’ll start investigation into your issue and provide you more information. Thanks for your cooperation.

PS: To attach these resources, please zip them and Click ‘Reply’ button that will bring you to the ‘reply page’ and there at the bottom you can include any attachments with that post by clicking the ‘Add/Update’ button.


Please find attach the following resources here for testing.

Hi there,

Thanks for sharing the detail. We have tested the scenario and have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-14556. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

The issues you have found earlier (filed as WORDSNET-14556) have been fixed in this Aspose.Words for .NET 17.1.0 update and this Aspose.Words for Java 17.1.0 update.

This message was posted using Notification2Forum from Downloads module by aspose.notifier.

The issues you have found earlier (filed as ) have been fixed in this update. This message was posted using BugNotificationTool from Downloads module by MuzammilKhan