Table of Contents

Method GetImage

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

GetImage(int?)

Retrieves an image from the container at the specified index.

public virtual Image? GetImage(int? index)

Parameters

index int?

The zero-based index of the image to retrieve. If the index is null, less than 0, or greater than or equal to the number of images, null is returned.

Returns

Image

The Image at the specified index, or null if the index is invalid.