Drawing on TfrxPictureview Canvas
Tom Dalton (OSDB Worx)
South Africa
Hi All,
I am new to Fast Reports and although very happy with the environment I am not getting a polygon to appear on a picture object in a report.
Typically we would call the the object:
Var Pict : TfrxPictureView;
Begin
Pict := Report1.FindComponent('Picture1') as TFrxPictureView;
Pict.Picture.Bitmap.Canvas.Polygon([Point(30,200),Point(230,200),Point(100,100)]);
Report1.showReport;
End;
I get a blank page with no triangle on the page. I have tried to add pen, brush, and other odd stuff with no joy.
Regards Tom
I am new to Fast Reports and although very happy with the environment I am not getting a polygon to appear on a picture object in a report.
Typically we would call the the object:
Var Pict : TfrxPictureView;
Begin
Pict := Report1.FindComponent('Picture1') as TFrxPictureView;
Pict.Picture.Bitmap.Canvas.Polygon([Point(30,200),Point(230,200),Point(100,100)]);
Report1.showReport;
End;
I get a blank page with no triangle on the page. I have tried to add pen, brush, and other odd stuff with no joy.
Regards Tom
Comments