ImageEn, unit ieview

TImageEnView.UnlockPaint

TImageEnView.UnlockPaint


Declaration

function UnlockPaint(): integer;


Description

Decrement the lock paint counter (use after calling LockPaint).

If the lock count is zero, then Update is called to refresh the view.

Returns the lock count.


Example

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