Spread WinForms 15
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / IconSetCfRule Class / SetIcon Method
An integer value indicates the index of icon.
A CfIcon value indicates the icon to be set.


In This Topic
SetIcon Method (IconSetCfRule)
In This Topic
Sets an icon at the specified index
Syntax
'Declaration
 
Public Function SetIcon( _
   ByVal index As Integer, _
   ByVal icon As CfIcon _
) As Boolean
 
'Usage
 
Dim instance As IconSetCfRule
Dim index As Integer
Dim icon As CfIcon
Dim value As Boolean
 
value = instance.SetIcon(index, icon)

Parameters

index
An integer value indicates the index of icon.
icon
A CfIcon value indicates the icon to be set.

Return Value

true if the icon is set, false otherwise.
See Also