ImageEn, unit iexLayers

TIELayer.Hint

TIELayer.Hint


Declaration

property Hint: String;


Description

Specifies text that is displayed when hovering the mouse over the layer.
Hints only display when there are no Layer interactions or General interactions, other than miZoom and/or miScroll
They will also be included when saving to SVG.


Example

// Add link to text
if ImageEnView1.CurrentLayer is TIETextLayer then
begin
  ImageEnView1.CurrentLayer.URL := 'http://www.imageen.com';
  ImageEnView1.CurrentLayer.Hint := 'Visit imageen.com';
  With TIETextLayer( ImageEnView1.CurrentLayer ).Font do
    Style := Style + [fsUnderLine];
  ImageEnView1.Update();
end;

// Allow user to zoom, scroll and click links...
ImageEnView1.MouseInteractLayers := [];
ImageEnView1.MouseInteractGeneral := [miZoom, miScroll];


See Also

- URL