TImageEnMView.TextBackgroundStyle
Declaration
property TextBackgroundStyle: TBrushStyle;
Description
Specify a background style for your thumbnail text.
Note:
◼ You can customize the styling of specific frames using the
OnGetTextEx event
◼ To make the text background expand to the width of the thumbnail, include ietxDrawTextFullWidth in
ThumbnailOptionsExDefault: bsClear
Example
// Give Thumbnail text a solid yellow background to the width of the thumbnail
ImageEnMView1.TextBackgroundStyle := bsSolid;
ImageEnMView1.TextBackgroundColor := clYellow;
ImageEnMView1.ThumbnailOptionsEx := ImageEnMView1.ThumbnailOptionsEx + [ietxDrawTextFullWidth];
See Also
◼ ImageTopText◼ ImageInfoText◼ ImageBottomText◼ OnGetTextEx