IImageList

Assembly: Forms;

Description

The IImageList interface is used to work with the development environment components: ImageList and GlobalImageList.

Inheritance Hierarchy

          IComponent

          IImageList

Comments

The IImageList interface enables working with images in the following formats: BMP, JPG, GIF, TIFF, JEPEG, PNG, ICO, images with alpha channel in GIF with simple binary transparency and in PNG with partial transparency.

Properties

   Property name Brief description
Count The Count property returns the number of images loaded in the collection of the component.
Height The Height property determines the height of images stored in the collection of the component.
Icon The Icon property returns the specified graphic image as an icon.
Item The Item property returns the specified graphic image.
Width The Width property determines the width of images stored in the collection of the component.

Properties inherited from IComponent

  Property name Brief description
ComponentCount The ComponentCount property returns the number of child components located on the parent component.
Components The Components property returns the child component, which index is passed by the input parameter.
Data The Data property is used to store any custom data.
Name The Name property determines a component name.
Tag The compiler does not use the Tag property. The user can change the value of the Tag property and use it as he wishes.

Methods

   Method name Brief description
Add The Add method adds an image to the collection.
AddIcon The AddIcon method adds the specified icon to the collection of the component.
Clear The Clear method clears the collection of component images.
LoadFromFile The LoadFromFile method loads an image to the component from file.
LoadFromStream The LoadFromStream method loads an image to the component from stream.
LoadFromStream2 The LoadFromStream2 method loads images from the stream and restores information on semi-transparency.
Remove The Remove method removes image from the collection.
SaveToDoc The SaveToDoc method saves all images from the component to file.
SaveToStream The SaveToStream method saves all images from the component to stream.
SaveToStream2 The SaveToStream2 method saves images to the stream keeping information on their semi-transparency.
SetOverlay The SetOverlay method identifies image in the list as the image that can be used as an overlay.

See also:

Forms Assembly Interfaces