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

# ImageList Class

Namespace: id3.Face

## Definition

Represents a list of images.
Python

    class ImageList

Dart

    class ImageList implements Finalizable

C#

    public partial class ImageList

Java

    public class ImageList implements AutoCloseable, Serializable

Swift

    public class ImageList

C

    typedef struct id3FaceImageList *ID3_FACE_IMAGE_LIST;

## Usage

Python

    imageListInstance = id3face.ImageList()

Explicit destruction

    # ...
    del imageListInstance

Dart

    final imageListInstance = sdk.ImageList();
    // ...

Explicit destruction

    // ...
    imageListInstance.dispose()

C#

    using (var imageListInstance = new ImageList())
    {
       // ...
    }

Explicit destruction

    var imageListInstance = new ImageList()
    // ...
    imageListInstance.Dispose()

Java

    try (ImageList imageListInstance = new ImageList()) {
    // ...
    }

Explicit destruction

    ImageList imageListInstance = new ImageList();
    // ...
    imageListInstance.close();

Swift

    private var imageListInstance: ImageList? = nil
    imageListInstance = try ImageList()

C

    ID3_FACE_IMAGE_LIST hImageList{};
    int err = id3FaceImageList_Initialize(&hImageList);
    if (err == ID3_SUCCESS) {
        // ...
        id3FaceImageList_Dispose(&hImageList);
    }

## Properties

Name | Type | Description
--- | --- | ---
count | int | Gets the number of elements contained in the list
operator [int index] | Image | Gets or sets the element at the specified index in the list.

## Iteration

This class supports iteration in Dart, C#, Java and Python.

## Methods

Name | Description
--- | ---
add | Adds an item to the ImageList object.
clear | Clears the ImageList object.
clone | Clones the ImageList object.
get | Gets an item of the ImageList object.
getCount | Gets the number of elements in the ImageList object.
removeAt | Removes an element of the ImageList object.
resize | ImageList object.
set | Sets an item of the ImageList object.