ImageEn, unit imageenview |
|
TImageEnView.LockUpdate
Declaration
procedure LockUpdate();
Description
Disables all calls to the
Update method (increasing
LockUpdateCount. LockUpdate and
UnlockUpdate are useful, for example, when resampling multiple layers.
Example
ImageEnView1.LockUpdate();
for i := 0 to ImageEnView1.LayersCount-1 do
begin
ImageEnView1.LayersCurrent := i;
ImageEnView1.Proc.Resample(300, -1, rfNone); // withtout LockUpdate this call resizes all other layers
end;
ImageEnView1.UnlockUpdate();