Printing custom draw items from TeePreviewPanel

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
NG
Newbie
Newbie
Posts: 9
Joined: Tue Aug 17, 2004 4:00 am

Printing custom draw items from TeePreviewPanel

Post by NG » Thu Mar 17, 2005 3:46 pm

Should the TeePreviewPanel.Print command print the custom drawn items that I put on the preview "paper'? If not how do I go about printing these item? I have multiple charts on the paper and have text under each chart (not in the chart itself). I am using Delphi 2005 and TeeChart Pro V7.04. Thanks for any help on this.

NG
Newbie
Newbie
Posts: 9
Joined: Tue Aug 17, 2004 4:00 am

OnAfterDraw event

Post by NG » Thu Mar 17, 2005 7:10 pm

Ok, I found the answer, it just wasn't obvious (to me at least). The OnAfterDraw event gets called when printing as well as for drawing on screen. I can now move forward.

Pep
Site Admin
Site Admin
Posts: 3303
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Thu Mar 17, 2005 7:26 pm

Hi,

thanks for the advise, good to know that works now.

Post Reply