void IFieldMergingCallback.ImageFieldMerging(ImageFieldMergingArgs e) { // The field value is a byte array, just cast it and create a stream on it. MemoryStream imageStream = new MemoryStream((byte[])e.FieldValue); // Now the mail merge engine will retrieve the image from the stream. e.ImageStream = imageStream; } }