Hi,
I'm sure this used to work. I'm using XE2 and WPTools Premium 6.28.
In WPINC.INC I have:
{.$DEFINE GRAPHICEX}
{$DEFINE PNGIMG}
In my app i use PngImage.
My code is:
WPRichText1.Changing;
Img:=TWPOImage.Create(WPRichText1.Memo.RTFData);
Img.LoadFromFile(whatever);
WPRichText1.TextObjects.Insert(Img);
WPRichText1.ChangeApplied;
It works for a jpg but not for a png. I just get a blank image of the correct size.
Any help greatly appreciated.
Ken