Page 1 of 1

Tee Files - include own properties?

Posted: Wed Jul 25, 2007 7:28 am
by 9349911
Hi !

We use Tee files in textmode for storing the templates. Would it be possible to add some custom stuff?

Somthing like this:
object TChart
Left = 0
Top = 48
Width = 1027
---------------------
cut
---------------------

YValues.Name = 'Y'
YValues.Order = loNone
CustomVertAxis = 6
end
object ChartTool1: TSeriesStatsTool
end
end

#own section
Showxyz = 1


Is there a way to do this without loosing the original functionality (like loading a template into TeeChartOffice)?

Posted: Thu Jul 26, 2007 9:59 am
by Pep
Hi Dominik,

yes, adding the extra lines manually as you did in your post should not be problematic, only that you will have to read this part of code manually.

Posted: Thu Jul 26, 2007 9:59 am
by 9047589
Greetings, Greetz:)
Try using SaveChartToStream and LoadChartToStream and putting/getting your custom info after TChart data.
Regards,
Alexander