Tee Files - include own properties?

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
moelski
Advanced
Posts: 212
Joined: Mon Apr 23, 2007 12:00 am
Location: Germany
Contact:

Tee Files - include own properties?

Post by moelski » Wed Jul 25, 2007 7:28 am

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)?

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

Post by Pep » Thu Jul 26, 2007 9:59 am

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.

xxxxxx
Advanced
Posts: 128
Joined: Tue Jun 19, 2007 12:00 am
Location: Russia
Contact:

Post by xxxxxx » Thu Jul 26, 2007 9:59 am

Greetings, Greetz:)
Try using SaveChartToStream and LoadChartToStream and putting/getting your custom info after TChart data.
Regards,
Alexander

Post Reply