Declarationproperty Background: TColor;
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.
- 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
Example// Rotate of 30 degrees and fill blank spaces with clBlack color
ImageEnView1.Background := clBlack;