TImageEnMView.DefaultTopText
Declaration
property DefaultTopText: TIEImageEnMViewDefaultText;
Description
The text that will display above the thumbnail for images that do not have a value specified for
ImageTopText.
TImageEnMView Default: iedtNone
TImageEnFolderMView Default: iedtNone
TImageEnLayerMView Default: iedtLayerNameInfo
You can also set:
DefaultTopText and
DefaultInfoText
Or alternatively, use
TextColumns to specify a selection of visible columns.
// Display the filename and details for each image
ImageEnMView1.DefaultImageTopText := iedtFilename;
ImageEnMView1.DefaultImageInfoText := iedtImageDimensions;
ImageEnMView1.DefaultImageBottomText := iedtFileEditDateAndSize;
// Change the layer display text for TImageEnLayerMView
IELayerMView1.DefaultTopText := iedtLayerName;
IELayerMView1.DefaultInfoText := iedtLayerKind;
IELayerMView1.DefaultBottomText := iedtLayerDescription;
IELayerMView1.ReadLayers();
// Fill with images from a folder and apply text values
ImageEnMView1.FillFromDirectory( 'C:\Images\', iefAllImages, '', True, iedtNone, iedtNone, iedtNone );
ImageEnMView1.DefaultTopText := iedtFilename;
ImageEnMView1.DefaultInfoText := iedtNone;
ImageEnMView1.DefaultBottomText := iedtImageDimAndSize;
See Also
◼OnGetText
◼OnGetTextEx
◼SetAllText
◼ShowText