SnapInImageList.Add Method (Image, Color)
Adds the specified image to the image list. This method also specifies the transparent color that is used to mask the image that is to be added.
Namespace: Microsoft.ManagementConsole
Assembly: Microsoft.ManagementConsole (in Microsoft.ManagementConsole.dll)
Syntax
public int Add(
Image value,
Color transparentColor
)
public:
int Add(
Image^ value,
Color transparentColor
)
member Add :
value:Image *
transparentColor:Color -> int
Public Function Add (
value As Image,
transparentColor As Color
) As Integer
Parameters
value
Type: System.Drawing.ImageThe image to add to the image list.
transparentColor
Type: System.Drawing.ColorThe transparent color that is used to mask the image that is to be added.
Return Value
Type: System.Int32
Returns a standard error code.
See Also
Add Overload
SnapInImageList Class
Microsoft.ManagementConsole Namespace
Return to top