Skip to main content

TcxImageCollection.AddFromMultiFrameImage(TdxSmartImage) Method

Loads frames from a specified multi-frame image as individual collection items.

Declaration

procedure AddFromMultiFrameImage(ASource: TdxSmartImage);

Parameters

Name Type Description
ASource TdxSmartImage

The source Smart Image container.

Remarks

This procedure does the following for each frame contained within the multi-frame image passed as the ASource parameter:

  • Creates an item and appends it to the Items collection.
  • Loads the frame as an image to the Picture property of the created collection item.
See Also