# set method

void set(

1. int index,
2. Image imageItem

)

Sets an item of the ImageList object.

param index Index of the Image item to set. param imageItem Image item to set. throws FaceException An error has occurred during Face Library execution.

## Implementation

    void set(int index, Image imageItem) {
      var err = faceSDK.id3FaceImageList_Set(_pHandle.value, index, imageItem.handle);
      if (err != FaceError.success.value) {
        throw FaceException(err);
      }
    }