Hello there,
I am inserting Image Merge Fields at run time as:
string imageName = "TestImage";
builder.InsertField(string.Format("MERGEFIELD Image:{0}", imageName), string.Format("½Image:{0}╗", imageName));
and when I call objDocumentMailMerge.GetFieldNames(), it returns Image field names prefixed with ‘Image:’, so for above code, it will give ‘Image:TestImage’.
Is that correct, or I am doing something wrong here…
(I was expecting it to return just ‘TestImage’, though if above code is right, I can always chop off ‘Image:’ to get correct field names.)
Thank you!