Share via


Imagelist Class

Enables the manipulation of a list of images.

Syntax

class Imagelist extends BinData

Run On

Client

Methods

  Method Description
Gg911024.pubmethod(en-us,AX.60).gif add Adds a new image to the image list.
Gg911024.pubmethod(en-us,AX.60).gif appendData (Inherited from BinData.)
Gg911024.pubmethod(en-us,AX.60).gif appendToFile (Inherited from BinData.)
Gg911024.pubmethod(en-us,AX.60).gif ascii85Encode (Inherited from BinData.)
Gg911024.pubmethod(en-us,AX.60).gif autoResize Sets the Boolean flag autoResize, which determines whether new images are automatically resized.
Gg911024.pubmethod(en-us,AX.60).gif base64Encode (Inherited from BinData.)
Gg911024.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Gg911024.pubmethod(en-us,AX.60).gif clear Removes all images from the image list.
Gg911024.pubmethod(en-us,AX.60).gif compressLZ77 (Inherited from BinData.)
Gg911024.pubmethod(en-us,AX.60).gif copyData (Inherited from BinData.)
Gg911024.pubmethod(en-us,AX.60).gif count Retrieves the number of images in an image list.
Gg911024.pubmethod(en-us,AX.60).gif decompressLZ77 (Inherited from BinData.)
Gg911024.pubmethod(en-us,AX.60).gif dragBegin Begins dragging an image.
Gg911024.pubmethod(en-us,AX.60).gif dragEnd Ends a drag operation.
Gg911024.pubmethod(en-us,AX.60).gif dragEnter Locks updates to the specified window during a drag operation and displays the drag image at the specified position in the window.
Gg911024.pubmethod(en-us,AX.60).gif dragLeave Unlocks the specified window and hides the drag image, enabling the window to be updated.
Gg911024.pubmethod(en-us,AX.60).gif dragMove Moves the image that is being dragged during a drag-and-drop operation.
Gg911024.pubmethod(en-us,AX.60).gif dragShowImage Shows or hides the image that is being dragged.
Gg911024.pubmethod(en-us,AX.60).gif draw Draws an image list item in the specified device context.
Gg911024.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Gg911024.pubmethod(en-us,AX.60).gif finalize (Overrides the finalize Method.)
Gg911024.pubmethod(en-us,AX.60).gif getAsciiData (Inherited from BinData.)
Gg911024.pubmethod(en-us,AX.60).gif getData (Inherited from BinData.)
Gg911024.pubmethod(en-us,AX.60).gif getStrData (Inherited from BinData.)
Gg911024.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Gg911024.pubmethod(en-us,AX.60).gif getVariant (Inherited from BinData.)
Gg911024.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Gg911024.pubmethod(en-us,AX.60).gif height Retrieves the height of the images in the image list in pixels.
Gg911024.pubmethod(en-us,AX.60).gif loadFile (Inherited from BinData.)
Gg911024.pubmethod(en-us,AX.60).gif loadIcons Loads icons from the specified resource into the image list.
Gg911024.pubmethod(en-us,AX.60).gif maskColor Sets the masking color.
Gg911024.pubmethod(en-us,AX.60).gif new Creates a new empty list to contain images. (Overrides the new Method.)
Gg911024.pubmethod(en-us,AX.60).gif notify Releases the hold on an object that has called the wait method on this object. (Inherited from Object.)
Gg911024.pubmethod(en-us,AX.60).gif notifyAll Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.)
Gg911024.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Gg911024.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Gg911024.pubmethod(en-us,AX.60).gif remove Removes an image from an image list.
Gg911024.pubmethod(en-us,AX.60).gif replace Replaces an existing image in the list.
Gg911024.pubmethod(en-us,AX.60).gif saveFile (Inherited from BinData.)
Gg911024.pubmethod(en-us,AX.60).gif setAsciiData (Inherited from BinData.)
Gg911024.pubmethod(en-us,AX.60).gif setBinaryData (Inherited from BinData.)
Gg911024.pubmethod(en-us,AX.60).gif setData (Inherited from BinData.)
Gg911024.pubmethod(en-us,AX.60).gif setOverlayImage Adds an image to the list of images to be used as overlay masks.
Gg911024.pubmethod(en-us,AX.60).gif setStrData (Inherited from BinData.)
Gg911024.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Gg911024.pubmethod(en-us,AX.60).gif setVariant (Inherited from BinData.)
Gg911024.pubmethod(en-us,AX.60).gif size (Inherited from BinData.)
Gg911024.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Gg911024.pubmethod(en-us,AX.60).gif usageCount Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.)
Gg911024.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Gg911024.pubmethod(en-us,AX.60).gif width Retrieves the width of the images in the image list in pixels.
Gg911024.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
Gg911024.pubmethod(en-us,AX.60).gif Gg911024.static(en-us,AX.60).gif ::iconHeight Retrieves the system metrics for the height of a standard icon.
Gg911024.pubmethod(en-us,AX.60).gif Gg911024.static(en-us,AX.60).gif ::iconWidth Retrieves the system metrics for the width of a standard icon.
Gg911024.pubmethod(en-us,AX.60).gif Gg911024.static(en-us,AX.60).gif ::smallIconHeight Retrieves the system metrics for the height of a small icon.
Gg911024.pubmethod(en-us,AX.60).gif Gg911024.static(en-us,AX.60).gif ::smallIconWidth Retrieves the system metrics for the width of a small icon.

Top

Remarks

If you want to manipulate a single image, use the Image class.

Examples

The following example creates an image list and adds the icons in the Shell32.dll file. It then deletes the fourth member of the list.

Imagelist list = new Imagelist( 
    Imagelist::iconWidth(), 
    Imagelist::iconHeight() ); 
  
list.loadIcons('shell32.dll'); 
print list.count(); 
list.remove(4); 
print list.count(); 
pause;

Inheritance Hierarchy

Object Class
  BinData Class
    Imagelist Class

See Also

Image Class

BinData Class