ImageEn, unit imageenview

TImageEnView.BackgroundOuter

TImageEnView.BackgroundOuter


Declaration

property BackgroundOuter: TColor;


Description

Specifies the color that appears outside the non-image area. If it is clNone, then the default background fills the entire control area.



Default: clNone


Examples

// Use default background for entire control area
ImageEnMView1.BackgroundOuter  := clNone;


// SOLID

ImageEnView1.BackgroundStyle := iebsSolid;
ImageEnView1.Background      := clWhite;




ImageEnView1.BackgroundStyle := iebsSolid;
ImageEnView1.Background      := clWhite;
ImageEnView1.BackgroundOuter := clBtnFace;




// HORIZONTAL LINES

ImageEnView1.BackgroundStyle := iebsHorizontal;
ImageEnView1.Background       := clWhite;
ImageEnView1.BackgroundColor2 := $00E9E9E9;




ImageEnView1.BackgroundStyle  := iebsHorizontal;
ImageEnView1.Background       := clWhite;
ImageEnView1.BackgroundColor2 := $00E9E9E9;
ImageEnView1.BackgroundOuter  := clBtnFace;




// VERTICAL LINES

ImageEnView1.BackgroundStyle  := iebsVertical;
ImageEnView1.Background       := clWhite;
ImageEnView1.BackgroundColor2 := $00E9E9E9;




ImageEnView1.BackgroundStyle  := iebsVertical;
ImageEnView1.Background       := clWhite;
ImageEnView1.BackgroundColor2 := $00E9E9E9;
ImageEnView1.BackgroundOuter  := clBtnFace;




// DIAGONAL LINES 1

ImageEnView1.BackgroundStyle  := iebsFDiagonal;
ImageEnView1.Background       := clWhite;
ImageEnView1.BackgroundColor2 := $00E9E9E9;




ImageEnView1.BackgroundStyle  := iebsFDiagonal;
ImageEnView1.Background       := clWhite;
ImageEnView1.BackgroundColor2 := $00E9E9E9;
ImageEnView1.BackgroundOuter  := clBtnFace;




// DIAGONAL LINES 2

ImageEnView1.BackgroundStyle  := iebsBDiagonal;
ImageEnView1.Background       := clWhite;
ImageEnView1.BackgroundColor2 := $00E9E9E9;




ImageEnView1.BackgroundStyle  := iebsBDiagonal;
ImageEnView1.Background       := clWhite;
ImageEnView1.BackgroundColor2 := $00E9E9E9;
ImageEnView1.BackgroundOuter  := clBtnFace;




// CROSS HATCH

ImageEnView1.BackgroundStyle  := iebsCross;
ImageEnView1.Background       := clWhite;
ImageEnView1.BackgroundColor2 := $00E9E9E9;




ImageEnView1.BackgroundStyle  := iebsCross;
ImageEnView1.Background       := clWhite;
ImageEnView1.BackgroundColor2 := $00E9E9E9;
ImageEnView1.BackgroundOuter  := clBtnFace;




// DIAGONAL CROSS HATCH

ImageEnView1.BackgroundStyle  := iebsDiagCross;
ImageEnView1.Background       := clWhite;
ImageEnView1.BackgroundColor2 := $00E9E9E9;




ImageEnView1.BackgroundStyle  := iebsDiagCross;
ImageEnView1.Background       := clWhite;
ImageEnView1.BackgroundColor2 := $00E9E9E9;
ImageEnView1.BackgroundOuter  := clBtnFace;




// CHESSBOARD

ImageEnView1.BackgroundStyle := iebsChessboard;
ImageEnView1.SetChessboardStyle( 16, bsSolid, clWhite, $00E9E9E9 );




ImageEnView1.BackgroundStyle := iebsChessboard;
ImageEnView1.SetChessboardStyle( 16, bsSolid, clWhite, $00E9E9E9 );
ImageEnView1.BackgroundOuter := clBtnFace;




// DIAGONALS

ImageEnView1.BackgroundStyle  := iebsDiagonals;
ImageEnView1.Background       := clWhite;
ImageEnView1.BackgroundColor2 := $00E9E9E9;




ImageEnView1.BackgroundStyle  := iebsDiagonals;
ImageEnView1.Background       := clWhite;
ImageEnView1.BackgroundColor2 := $00E9E9E9;
ImageEnView1.BackgroundOuter  := clBtnFace;




// BORDERED IMAGE

ImageEnView1.BackgroundStyle := iebsCropped;
ImageEnView1.BorderStyle     := bsNone;




// IMAGE WITH SHADOW

ImageEnView1.BackgroundStyle  := iebsCropShadow;
ImageEnView1.Background       := clWhite;




ImageEnView1.BackgroundStyle  := iebsCropShadow;
ImageEnView1.Background       := clWhite;
ImageEnView1.BackgroundOuter  := clBtnFace;




// GRADIENT

ImageEnView1.BackgroundStyle  := iebsGradient;
ImageEnView1.Background       := clWhite;
ImageEnView1.GradientDir      := gpgVertical;
ImageEnView1.GradientEndColor := $00FF8000;




ImageEnView1.BackgroundStyle  := iebsGradient;
ImageEnView1.Background       := clWhite;
ImageEnView1.GradientDir      := gpgVertical;
ImageEnView1.GradientEndColor := $00FF8000;
ImageEnView1.BackgroundOuter  := clBtnFace;




// IMAGE WITH SOFT SHADOW

ImageEnView1.BackgroundStyle  := iebsSoftShadow;
ImageEnView1.Background       := clWhite;




ImageEnView1.BackgroundStyle  := iebsSoftShadow;
ImageEnView1.Background       := clWhite;
ImageEnView1.BackgroundOuter  := clBtnFace;




// BLACK BORDER

ImageEnView1.BackgroundStyle  := iebsPhotoLike;




ImageEnView1.BackgroundStyle  := iebsPhotoLike;
ImageEnView1.BackgroundOuter  := clBtnFace;




// BLURRED IMAGE BACKGROUND

ImageEnView1.BackgroundStyle := iebsBlurredImage;




See Also

Background
BackgroundColor2
SetChessboardStyle
BackgroundStyle
GradientDir
GradientEndColor
Wallpaper
WallpaperStyle


Loading contents...