trichview.support
Re: Inserting picture |
Author |
Message |
Allen |
Posted: 04/10/2003 15:11:40 Hi, I forget to loadFromFile Okay. Now the following codes works: ============================ procedure TForm1.FormCreate(Sender: TObject); var gr:tgraphic; begin e.AddNL('a line',0,0); gr:= TBitMap.create; gr.LoadFromFile('d:\flag.bmp'); e.InsertPicture('',gr,rvvaBaseline); e.format; end; ============================ The trouble with the code above is that it did NOT insert the picture NEXT to the line inserted(with addNL) but the picture is inserted ON TOP of the paragraph. How can I insert the picture NEXT to the paragraph? Thanks. |
Powered by ABC Amber Outlook Express Converter