ImageEn, unit iemview

TImageEnMView.DefaultTopText

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


Examples


// 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();


See Also


- OnGetText
- OnGetTextEx