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

  • transparentColor
    Type: System.Drawing.Color

    The 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