Using JPGs with RichEdit

Post Reply
User avatar
Antonio Linares
Site Admin
Posts: 42537
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 31 times
Been thanked: 77 times
Contact:

Using JPGs with RichEdit

Post by Antonio Linares »

local oImage

DEFINE IMAGE oImage FILE "fw.jpg"

oRTF:InsertPicture( oImage:hBitmap )

oImage:End()

You can also use other graphic file formats except PNG
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Otto
Posts: 6404
Joined: Fri Oct 07, 2005 7:07 pm
Has thanked: 24 times
Been thanked: 2 times
Contact:

Post by Otto »

Code integrated into FWH\samples\testrich.prg

www.fwcodesnips.com
Image
Post Reply