v6 Printing

TeeChart for ActiveX, COM and ASP
Post Reply
Rossmc
Newbie
Newbie
Posts: 27
Joined: Wed Jul 28, 2004 4:00 am
Location: South Africa

v6 Printing

Post by Rossmc » Fri Feb 17, 2006 9:28 am

I have header text on my chart in a custom position. It doesn't appear when I print?

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Fri Feb 17, 2006 11:10 am

Hi Rossmc,

You could try the approach used at the All Features\Welcome!\Printing\Print Prewiew\Custom Drawing example in the TeeChart features demo which is available at its program group.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Rossmc
Newbie
Newbie
Posts: 27
Joined: Wed Jul 28, 2004 4:00 am
Location: South Africa

Post by Rossmc » Mon Feb 20, 2006 10:35 am

Hi Narcis

Thanks that is actually what I am doing. When looking at the preview panel on my monitor the text appears. When I print it is not visible? Here is a code snippet, from the OnAfter_Draw event:

With taPreview.Canvas
.Pen.Visible = True
.Font.Color = vbBlue
.Font.Size = 12
.TextOut taPreview.PaperRect.Left + 50, taPreview.PaperRect.Top + 20, "Chart Name"
End With

Post Reply