Visual Basic (Declaration) | |
---|---|
Public Overloads Function Add( _ ByVal color As Color, _ ByVal text As String _ ) As Integer |
Visual Basic (Usage) | Copy Code |
---|---|
|
Parameters
- color
- Legend item color.
- text
- Legend item text.
Return Value
Index of newly added item.Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family