|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 TSmithChart Methods CountAnnoByClass|
|See also: NumAnnos, CountAnnos|
The method CountAnnoByClass counts the annotation elements according to their item class. The parameter ClList is an open array containing the list of classes which should be counted. The functions returns the sum of all graphic elements which have one of the item classes specified in ClList.
Please note that class 255 never exists (the class number 255 is declared as place holder for "any class" in certain search methods). If you want to obtain the total number of annotation elements you should use the property NumAnnos.