Page 1 of 1

v6 Printing

Posted: Fri Feb 17, 2006 9:28 am
by 9083304
I have header text on my chart in a custom position. It doesn't appear when I print?

Posted: Fri Feb 17, 2006 11:10 am
by narcis
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.

Posted: Mon Feb 20, 2006 10:35 am
by 9083304
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