trichview.com

trichview.support

 Inserting picture Return to index

 Author Message Allen Posted: 04/10/2003 14:58:09 Hello, When I use the following method, the picture is not inserted. Why is this so? WHere did the picture go to? ========================== procedure TForm1.FormCreate(Sender: TObject); var gr:TGraphic; begin r.InsertText('a line');      gr := TBitmap.Create; r.InsertPicture('c:\flag.bmp',gr,rvvaBaseline); r.format; end; ========================== THE FOLLOWING ALSO DID NOT WORK: procedure TForm1.Button1Click(Sender: TObject); var  gr:TGraphic; begin r.AddNL('secondline',0,0);      gr := TBitmap.Create; r.InsertPicture('d:\flag.bmp',gr,rvvaBaseline); r.format; end; ============================================== The picture above is missing. Why? At other ocassion, when I add text using AddNL, the text is add but when a picture is inserted, the picture is inserted on TOP of the paragraph instead of next to the paragraph. HOW CAN I OVERCOME  this and let the picture be inserted next to the paragraph of inserted text? Do kindly assist!!!! Thanks.

Powered by ABC Amber Outlook Express Converter