Insert a Image Link in RTF Code

  • Is it possible to insert an image link in plain RTF code rather than embed the image data? Somthing like:

    { /piclink "c:\temp\somepic.jpg"}

    We have the need for this because we must parse a plain rtf file for some serach tags before assigning it to WPTools.

    • Offizieller Beitrag

    Hi,

    Please use this syntax:

    {\field{\*\fldinst{INCLUDEPICTURE "c:\\\\filename.bmp" MERGEFORMAT \\d \\w3000 \\h4500 \\pm1 \\px0 \\py0 \\pw0}}}

    Note the (optional) \w and \h parameters. This are twips. It is a WPTools extension to the RTF syntax.

    Julian

  • Hi,

    thank you. I had a look at Wikipedia what TWIPS are :) so I know when to use these parameters but could you please give me a short idea for what the other parameters stand for?

    Thanks!

    Markus