This document is archived and information here might be outdated. Recommended version. |
Sets a label for the given graphic.
[Visual Basic .NET] Public Sub SetLabel ( _ ByVal id As Integer, _ ByVal newLabel As String _ )
[C#] public void SetLabel ( int id, string newLabel );
[C++]
HRESULT SetLabel(
long id,
BSTR newLabel
);
[C++]
Parameters id [in]
id is a parameter of type long newLabel [in]
newLabel is a parameter of type BSTR
Sets a text label for the graphic. If you don't use the SetTextSymbol() method first then a default text symbol will be used. Call SetLabel with an empty string to remove the label.