Table of Contents

Method AsImageStrip

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

AsImageStrip()

Creates a single image strip by combining all images in the collection horizontally.

public virtual Image? AsImageStrip()

Returns

Image

An Image containing the combined image strip, or null if the collection contains no images.

Remarks

Each image in the collection is placed side by side in the resulting strip, maintaining its original size and order. The width of the strip is the sum of the widths of all images, and the height matches the individual image height. This method is useful for generating sprite sheets or preview strips from a sequence of images.