Mike Glazer
2008-05-18 14:35:13 UTC
I have the following code in Delphi where I am trying to print a metafile:
Printer.BeginDoc;
Printer.Canvas.StretchDraw(Rect(1,1,Printer.PageWidth-1,
Printer.PageHeight-1),m);
Printer.EndDoc;
But Dephi7 objects with the message
[Error] (1036): Incompatible types: 'TGraphic' and 'TMetafile'
Any ideas?
Mike G
Printer.BeginDoc;
Printer.Canvas.StretchDraw(Rect(1,1,Printer.PageWidth-1,
Printer.PageHeight-1),m);
Printer.EndDoc;
But Dephi7 objects with the message
[Error] (1036): Incompatible types: 'TGraphic' and 'TMetafile'
Any ideas?
Mike G