Free Support Forum -

Mail merge with image aspose.word

I'm wondering if it's possible and how to make a mail merge where a field is an image.

i'm using word 2007 document converted in 2000 and on the .mdb datasource i add an ole field.

but when i mail merge i get System.Drawing.Bitmap instead of the image


Ivano Panichelli


<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your inquiry. Please see the following link to learn how to insert images during MailMerge:

Hope this helps.

Best regards,

i can't use: MergeImageFieldEventArgs. it's say not defined

do i need to import some lib ?


sorry just found in

Imports Aspose.Words.Reporting


instead of use a dataread i'm using :

Dim table As DataTable = New DataTable("Test")

dim FIRMA_IMG as system.drawing.bitmap


table.Rows.Add(New Object() {MITTENTE, MITTENTE_2, FIRMA_IMG})



in this way i'm getting the same input document with all merge field empty


<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />Hello

Thank you for additional information. I cannot reproduce the problem on my side using the latest version of Aspose.Words (8.2.1). You can download this version from here:

Also, see the following link to find one more example:

Best regards,