IImageList

Assembly: Forms;

Namespace: Prognoz.Platform.Interop.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
The Count property returns the number of images loaded in the collection of the component.
The Height property determines the height of images stored in the collection of the component.
The Icon property returns the specified graphic image as an icon.
The Item property returns the specified graphic image.
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
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 file.
The LoadFromStream method loads an image to the component from stream.
The LoadFromStream2 method loads images from the stream and restores information on semi-transparency.
The Remove method removes image from the collection.
The SaveToDoc method saves all images from the component to file.
The SaveToStream method saves all images from the component to stream.
The SaveToStream2 method saves images to the stream keeping information on their semi-transparency.
The SetOverlay method identifies image in the list as the image that can be used as an overlay.

See also:

Forms Assembly Interfaces