[Overview][Types][Classes][Procedures and functions][Index] | Reference for unit 'ImgList' (#lcl)

# TOverlay

Represents the valid index positions used to access overlay image assignments.

## Declaration

Source position: imglist.pp line 112

`type TOverlay = 0..14;`

## Description

TOverlay is a range type with values in the range 0..14. TOverlay represents the valid indices that can be used to access images in the list that are used as Overlays. The range type mirrors the values available in the WIN ImageList_SetOverlayImage API. 0 is normally used when an overlay is not needed.

## See also

TCustomImageList.Overlay |  | Assigns an overlay index for the specified image in the image list.
TCustomImageList.HasOverlays |  | Indicates if any images in the list have been used as an overlay image.
TCustomImageList.Draw |  | Renders an image to the specified canvas using a drawing style or effect.
TCustomImageList.DrawOverlay |  | Renders an image with an overlay to the specified canvas.