Share via


Imagelist.replace Method

Replaces an existing image in the list.

Syntax

public int replace(int imageIdx, Image image)

Run On

Client

Parameters

  • imageIdx
    Type: int
    The number of the image that you want to replace in the list.
  • image
    Type: Image Class
    The image that you want to use to replace the existing image.

Return Value

Type: int
0 if the method was successful.

See Also

Reference

Imagelist Class