TiPlotComponent.SaveAnnotationsToFile

TiPlotComponent

Saves all Annotations to a text file.

function SaveAnnotationsToFile(FileName: String);

Description

Call SaveAnnotationsToFile to stream out all of the Annotations of the plot component to a file.

This file is in a proprietary text format and is generally used to save annotations for later reloading by the LoadAnnotationsFromFile method.

Example

Delphi

iComponent.SaveAnnotationsToFile('C:\TextFile.txt'); //Save Annotations

Kylix

iComponent.SaveAnnotationsToFile('/home/username/textfile'); //Save Annotations

C++ Builder

iComponent->SaveAnnotationsToFile("C:\\TextFile.txt"); //Save Annotations

Contents | Index | Previous | Next