Erik N
asked on
Problem with printing content of TImage-comp.!
I have some problems with printing the content of my TImage-component to a printer!!
Like this:
With Printer do
BeginDoc;
Canvas.draw(20,20, Image1.Picture.Graphic);
EndDoc;
Why doesn´t it work? I get message 'Access violation' all the time!!(or something like it).
Sometimes the compiler seems to dislike the row containing :EndDoc;
Ps. I use Delphi Developer 2.0
Thanks!
Erik N
Like this:
With Printer do
BeginDoc;
Canvas.draw(20,20, Image1.Picture.Graphic);
EndDoc;
Why doesn´t it work? I get message 'Access violation' all the time!!(or something like it).
Sometimes the compiler seems to dislike the row containing :EndDoc;
Ps. I use Delphi Developer 2.0
Thanks!
Erik N
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Erik N