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

# TCustomImage.Transparent

Indicates if the image has a clear, non-opaque background.

## Declaration

Source position: extctrls.pp line 603

`public property TCustomImage.Transparent : Boolean read FTransparent write SetTransparent default False;`

## Description

Transparent is a Boolean property which indicates if the image uses a clear, non-opaque background. The value for the property is used in the PictureChanged method to set the transparency for the bitmap in Picture. Changing the value for the property causes PictureChanged to be called to update the image data assigned to Picture and to repaint the control.

The default value for the property is False.

Use AntialiasingMode to enable or disable use of the rendering technique. Use the OnPaintBackground event handler to render a custom background for the image.

## See also

TCustomImage.Picture |  | Contains the image displayed in the control.
TCustomImage.PictureChanged |  | Performs actions needed when the Picture property has been changed.
TCustomImage.AntialiasingMode |  | Indicates if anti-aliasing is used when rendering the image.
TCustomImage.OnPaintBackground |  | Event handler signalled to draw the background for the image.