ImageEn, unit iexLayerMView |
|
TImageEnLayerMView.LayerToIndex
Declaration
function LayerToIndex(lyr: Integer) : integer;
Description
Returns the index (in this control) of a layer in the associated TImageEnView.
Result is -1 if the layer is hidden (i.e. using
OnIncludeLayer).
See also:
IndexToLayer
idx := IELayerMView1.LayerToIndex( ImageEnView1.LayersCurrent );
IELayerMView1.ImageBottomText[ idx ] := 'CURRENT';