ImageEn, unit iexLayers

TIETextLayer.TextOverflow

TIETextLayer.TextOverflow


Declaration


property TextOverflow: TIETextOverflow;


Description


Specifies what occurs when the text is too big to be displayed within the layer.
Value Description
ieoTruncate Text that is too wide for display will be truncated and appended with ellipses (e.g. Long Te...)
ieoShrink Text that is too wide for display will be have the font size automatically reduced
ieoHide If text is too wide for display it is hidden


Notes:
- TextOverflow has no effect if WordWrap=True.
- To limit the area of the text to the shape when AspectRatioLocked=True, ensure Alignment=iejCenter and Layout=ielCenter.

Default: ieoTruncate


Example


// Make text that is too big for display automatically shrink to a smaller font size
TIETextLayer( ImageEnView1.CurrentLayer ).TextOverflow := ieoShrink;
ImageEnView1.Update();


See Also


- Text
- Font