[b][/b]I call oRtf:insertpicture to insert an image on a rtf document but I have problem because it is inserted as icon as you can see here :
i use this function from mypad
METHOD RTFPicture() CLASS TmyPad
LOCAL cFile := cGetFile( "Bitmap (*.bmp)| *.bmp|" + ;
"DIB (*.dib)| *.dib|" + ;
"PCX (*.pcx)| *.pcx|" + ;
"JPEG (*.jpg)| *.jpg|" + ;
"GIF (*.gif)| *.gif|" + ;
"TARGA (*.tga)| *.tga|" + ;
"RLE (*.rle)| *.rle|" + ;
"All Files (*.*)| *.*" , ;
RTF_VER, nGetFileFilter() )
if !Empty( cFile )
::WndChild():InsertPicture( cFile )
endif
RETURN NIL
how I can resolve it ?