[merge] Include an image.

  • I have an image in my application that needs to be inserted during the mailmerge stage. The image is dynamically created and stored in a TGraphic object and changes with every merge.

    I am using the OnMailMergeGetText to fill the data and assume I have to use the Contents.CurrentObject.CreateImage to create the image in the field yet I don't know what the first parameter must be. The second one is my graphic, but the first?...
    Or am I using the wrong approach here?