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 PolChart Methods AddTextLabel | |||||||||||||||||||||||||||
See also: user defined text labels, TextLabels, SetTextLabel | |||||||||||||||||||||||||||
AddTextLabel |
|||||||||||||||||||||||||||
The method AddTextLabel can be used to add a new user defined text label. The parameters Rad and Phi define the position of the label, the parameter TxtColor specifies the color of the text, and the parameter Txt contains the text. All other formatting options of the new text label either are obtained from an existing label addressed by the parameters PropertyTemplate (which is the number of the template label [1..MaxTxtLbl ]), or are set to the following default values, if PropertyTemplate is zero or invalid:
The function returns the number of the new label [1..MaxTxtLbl ], or a zero value if no free label is available (a label is considered to be available if its Mode parameter is tlOff.
|