[]
        
(Showing Draft Content)

FarPoint.Win.Spread.CustomIconContainer.AddIcon

AddIcon Method

AddIcon(string, Icon)

Adds an icon object into a container.

Declaration
public int AddIcon(string name, Icon icon)
Public Function AddIcon(name As String, icon As Icon) As Integer
Parameters
Type Name Description
string name

Name of the icon object

Icon icon

The icon object

Returns
Type Description
int

An int32 value that specifies the index of the object in the container. Returns -1 if there is an icon with the same name already in the container; in this case, the new icon object is not added.