BackgroundImage

  • Hi,

    I just tried to insert a BackgroundImage for a specific paragraph. Do do so I used the following code:

    Code
    WPRichText1.ActiveParagraph.BackgroundImage := WPLoadObjectFromFile(WPRichText1.RTFData, 'C:\Temp\Pic.jpg', false);

    As a result I can see the picture as a BackgroundImage. Everything seems to be correct. But when I save the rtf file the picture is gone. Closing and reopening the rtf file will show that the picture was definitly not saved.

    What's wrong?

    Regards Markus