ImageEn, unit imageenview

TImageEnView.Background

TImageEnView.Background


Declaration

property Background: TColor;


Description

Specifies the background color, which is shown in the unoccupied area of the window (when the current image is smaller than the ImageEnView).
This color is used also in geometric processing (such as rotation) to fill blank areas.

Notes:
- If an image has been loaded, you won't see the background color when the image fully overlaps the background. To force display of the background, reset the image using Clear
- This value may be overridden by VCL theming colors. Set EnableTheming to false to prevent this

Default: clBtnFace


Example

// Rotate of 30 degrees and fill blank spaces with clBlack color
ImageEnView1.Background := clBlack;
ImageEnView1.Proc.Rotate(30, False);


See Also

- BackgroundStyle