TiPlotComponent.LoadAnnotationsFromFile
TiPlotComponent
Loads Annotations from a text file.
function LoadAnnotationsFromFile(FileName: String);
Description
Call LoadAnnotationsFromFile to stream in all of the Annotations of the plot
component from a file.
This file is in a proprietary text format and is generally used to load saved
by the SaveAnnotationsToFile method.
note: this will delete any existing annotations in the current chart.
Example
Delphi
iComponent.LoadAnnotationsFromFile('C:\TextFile.txt'); //Load Annotations
Kylix
iComponent.LoadAnnotationsFromFile('/home/username/textfile'); //Load Annotations
C++ Builder
iComponent->LoadAnnotationsFromFile("C:\\TextFile.txt"); //Load Annotations
Contents | Index | Previous | Next