• Hello All,

    I'm trying to use the EmbedData method of wPDF3 in conjunction with WPTools and it's mail merge functionality.

    I'm generating a report dynamically and need to insert several embedded file icons into the pdf at the location of paragraphs that have been inserted during a OnMailMergeGetText event.

    Here is what I'm currently doing.

    1. Create the report and mail merge the paragraphs.
    2. Export the report to PDF using TWPPDFExport
    3. Now I need to go back and insert the icons that represent the embedded data.

    How do I find the page and values of the TRECT parameter of the EmbedData method so I can place the icon in the right place? Or can I achieve this some other way?

    Regards,

    Paul Cunningham

    • Offizieller Beitrag

    Hi,

    Zitat

    3. Now I need to go back and insert the icons that represent the embedded data.

    How do I find the page and values of the TRECT parameter of the EmbedData method so I can place the icon in the right place? Or can I achieve this some other way?

    "going back" does not work. But if you úse the OnPaintPage event you can draw on each page and this way also print icons with attached data.

    To make this easier WPTools V6 will also come with an object to embed data.

    Julian