trichview.com

trichview.support




Re: Load a file in ReportHelper


Return to index


Author

Message

jrosaa

Posted: 10/18/2002 2:45:48


I did it, but how can draw it in canvas. I have this code


rvreporthelper1.RichView.LoadRVF ('filename');


  wmf := TMetafile.Create;

  wmf.Width := 200  ;

  wmf.Height := rvreporthelper1.EndAt ;


  Canvas := TMetafileCanvas.Create (wmf, 0);

  RVReportHelper1.DrawPage (1,Canvas,True,wmf.Height);

  Canvas.Free;


  Image1.Picture.Graphic := wmf;

  wmf.Free;


but always appears this  message:  "List index out of bounds (0)"


thanks for your help




"Sergey Tkachenko" <[email protected]> wrote:

>rvhelper.RichView.LoadRVF

>

>

>>

>> How can I load a file with reporthelper and draw it onto canvas

>> thanks for all

>

>





Powered by ABC Amber Outlook Express Converter