Assembly: Forms;
Namespace: Prognoz.Platform.Interop.Forms
The IImageList interface is used to work with the: ImageList and GlobalImageList development environment components.
IImageList
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.
| Property name | Brief description | |
| The Count property returns the number of images loaded to the component collection. | ||
| The Height property determines the height of images, stored in the component collection. | ||
| The Icon property returns the specified graphic view as an icon. | ||
| The Item property returns the specified graphic image. | ||
| The Width property determines the width of images stored in the component's collection. |
| Property name | Brief description | |
| ComponentCount | The ComponentCount property returns the number of child components, located on the parent component. | |
| Components | The Components property returns child property, the index of which is passed by the input parameter. | |
| Data | The Data property is used to store any custom data. | |
| Name | The Name property specifies the component name. | |
| Tag | The compiler does not use the Tag property. A user can change the value of the Tag property and use it as he wishes. |
| Method name | Brief description | |
| The Add method adds an image to the collection. | ||
| The AddIcon method adds the specified icon to the collection of the component. | ||
| The Clear method clears the collection of component images. | ||
| Outdated. Use the Remove method. | ||
| The LoadFromFile method loads an image to the component from a file. | ||
| The LoadFromStream method loads an image to the component from a stream. | ||
| The LoadFromStream2 method loads images from the stream and restores information on semi-transparency. | ||
| The Remove method removes an image from the collection. | ||
| The SaveToDoc method saves all images from the component to a file. | ||
| The SaveToStream method saves all images from the component to a stream. | ||
| The SaveToStream2 method saves images to a stream keeping information on their semi-transparency. | ||
| The SetOverlay method identifies image in the list as an image that can be used as a covering mask. |
See also: