ImageEn, unit iexLayers

TIELayer.Modified

TIELayer.Modified


Declaration

property Modified: Boolean;


Description

Returns true if the layer has been changed since it was created or loaded.

Also see: ModifiedDate


Example

// Get list of changed layers
changedLayers := '';
for I := 0 to ImageEnView1.LayersCount -1 do
  if ImageEnView1.Layers[I].Modified then
    changedLayers := changedLayers + IntToStr( I ) + ', ';

// Mark all layers as unmodified
for I := 0 to ImageEnView1.LayersCount -1 do
  ImageEnView1.Layers[I].Modified := False;