Hide navigation sidebar
Hide table of contents sidebar
Skip to content
Back to top
Toggle table of contents sidebar

# ImageList.add Method

Module: ImageList

## Definition

Adds an item to the ImageList object.

Python

    add(self, image_item: Image) -> None

Parameters

> `image_item` Image
> in Image item to add.

Exceptions

> FaceException
> An error has occurred during Face Library execution.

Dart

    void add(Image imageItem)

Parameters

> `imageItem` Image
> in Image item to add.

Exceptions

> FaceException
> An error has occurred during Face Library execution.

C#

    public void Add(Image imageItem)

Parameters

> `imageItem` Image
> in Image item to add.

Exceptions

> FaceException
> An error has occurred during Face Library execution.

Java

    public void add(Image imageItem) throws FaceException

Parameters

> `imageItem` Image
> in Image item to add.

Exceptions

> FaceException
> An error has occurred during Face Library execution.

Swift

    public func add(imageItem: Image) throws

Parameters

> `imageItem` Image
> in Image item to add.

Exceptions

> FaceException
> An error has occurred during Face Library execution.

C

    int id3FaceImageList_Add (
        ID3_FACE_IMAGE_LIST hImageList,
        ID3_FACE_IMAGE hImageItem)

Parameters

> `hImageList` ID3_FACE_IMAGE_LIST
> in Handle to the ImageList object.
> `hImageItem` ID3_FACE_IMAGE
> in Image item to add.

Returns

> `int`
> An error code.
> See id3FaceError file for the list of possible error codes.