ImageEn, unit ieview

TImageEnView.LockPaint

TImageEnView.LockPaint


Declaration

procedure LockPaint();


Description

Increments the lock paint counter. While LockPaintCount is greater than zero all painting is disabled.

Use UnlockPaint to unlock.


Example

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