ExtractIcon Method (AImageListImage)

Creates an icon from an Image object in an ImageList control.

Syntax

 [ picPicture = ] Object.ExtractIcon

The ExtractIcon method syntax has the following parts:

 

Name

Type

Description

Object

AImageListImage

AImageListImage object

picPicture

APicture

APicture object

Example

The following statement set the MouseIcon property to be the extracted icon from an AImageListImage object in an ImageList control:

frm1.MouseIcon=imgli1.ExtractIcon

Applies to

AImageListImage

See Also

Picture