Merge Field '\loadimage'

  • I am attempting to use a merge field with the special attribute ' \loadimage'. Is there any special processing required to get it to load the image? The Contents.WideStringValue value contains a valid image file path but all that happens is the path string is output and not the image.

    FYI: WPTools V7.21 with the WPReporter Addon.

    regards,
    Steve

    • Offizieller Beitrag

    Hi,

    Word uses mergefields with this tag to link to external image files. WPTools understands this RTF syntax, however you cannot use WPTools' merge fields which such a tag. Simply insert an image and specify as to be "linked" - i.e. by setting the property StreamName to the path of this image.

    The images are loaded through the event OnHTTPRequestImage - usually in HTML linked images are found.

    The method InsertGraphicDialog has the optional property AsLink to create such a linked image.

    Regards,
    Julian