ImageEn, unit imageenview

TImageEnView.UnlockPaint

TImageEnView.UnlockPaint


Declaration

function UnlockPaint(): integer;


Description

Use the UnlockPaint method to decrease the lock counter's value. The ImageEnView window will not be repainted while LockPaintCount > 0.

If calling UnlockPaint resets LockPaintCount to zero then the Update method is automatically called.

Returns the lock count.

See also: LockPaint


Example

ImageEnView1.LockPaint();
ImageEnView1.ViewX := 10;
ImageEnView1.ViewY := 20;
ImageEnView1.Zoom := 300;
ImageEnView1.UnlockPaint();