|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....|
|Home ChartPack RChart Class TContourPlot Properties AnnoLongText|
|See also: NumAnnos, AnnoMode, Text, DataLongText (ContourPlot)|
When accessing the annotation container directly, text elements are always represented by the short versions of the texts as these are stored in the Text field of the TrcChartItem element. In order to read or write the long version of a text element you have to access it via the array property AnnoLongText. The index idx of the array may take values between 0 (the first element) and NumAnnos-1 (the last item). When writing to an annotation element which is not a text element, the assignment of a value is ignored, likewise, when reading an element of the AnnoLongText array an empty string is returned if the addressed item is not a text element.
Please note that only the first MAXLONGTEXTS text entries are capable of storing the long text version. If this limit is met you cannot store long texts any more (i.e. writing a text longer than 15 characters will cut the stored text to 15 characters).