AVEVA CAF API Documenation

Aveva.ApplicationFramework.Presentation Namespace > RootToolsCollection Class > AddLabelTool Method : AddLabelTool(String,String,Image,String,ArrayList,Boolean) Method
Unique key in the RootToolsCollection.
Caption for the tool.
Icon for the tool.
Identifier of command which the tool is associated with.
Arguments for the tool.
true to from XML.
AddLabelTool(String,String,Image,String,ArrayList,Boolean) Method
Create and add a new LabelTool object to the RootToolsCollection.
Syntax

Parameters

key
Unique key in the RootToolsCollection.
text
Caption for the tool.
image
Icon for the tool.
commandId
Identifier of command which the tool is associated with.
arguments
Arguments for the tool.
fromXml
true to from XML.

Return Value

A LabelTool.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also