ImageEn, unit ieview

TIEView.UpdateRect

TIEView.UpdateRect

Declaration

procedure UpdateRect(ARect: TRect; UpdateNow: Boolean = False);

Description

Updates the specified rectangle. Use this function instead of Update when only a portion of the image has changed.
If UpdateNow is True then the window is updated immediately (bypassing the application queue).

Example

// Assume that Zoom = 100
ImageEnView1.IEBitmap.Canvas.Fill( 0, 0, 10, 10 );
ImageEnView1.UpdateRect( Rect( 0, 0, 10, 10 ));