Spread Windows Forms 7.0 Product Documentation
InsertIcon Method
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > CustomIconContainer Class : InsertIcon Method


index
Index at which to insert the icon object
name
Name of the icon object
icon
The icon object

Glossary Item Box

Inserts an icon object into a container with the specified name at a specified index.

Syntax

Visual Basic (Declaration) 
Public Sub InsertIcon( _
   ByVal index As Integer, _
   ByVal name As String, _
   ByVal icon As Icon _
) 
Visual Basic (Usage)Copy Code
Dim instance As CustomIconContainer
Dim index As Integer
Dim name As String
Dim icon As Icon
 
instance.InsertIcon(index, name, icon)
C# 
public void InsertIcon( 
   int index,
   string name,
   Icon icon
)

Parameters

index
Index at which to insert the icon object
name
Name of the icon object
icon
The icon object

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.