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 if the image fully overlaps the background. To force display of the background, reset the image using Clear
- This value may be ignored, if EnableTheming is enabled

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