The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....


Unit: SDL_rchart
Class: TContourPlot
Declaration: function LoadAnno (FName: string; AppendIt: boolean): integer;

The method LoadAnno loads the annotation container of a TContourPlot instance from a file with filename FName which has been created by a previous call to SaveAnno. The parameter AppendIt determines whether the loaded annotation items are appended to the existing ones, or the annotation container is cleared before loading the items.

The function returns the following result:

≥0 ... everything is OK, the returned value specifies the number of annotation items read from the file
-1 ... the file cannot be read
-2 ... the file is not an annotation file (missing version and annotation id)

Last Update: 2023-Dec-13