ImageEn, unit iemview

TImageEnMView.ViewY

TImageEnMView.ViewY

Declaration

property ViewY: Integer;

Description

Specifies the first row visible at the top-left corner of the control, in pixels (for example, if the user has scrolled vertically by two rows then it will return 2 * ThumbHeight). It is not relevant if GridWidth = 0 (in which case it always returns 0).

You can set ViewY to simulate vertical scrollbar movement.

Example

ImageEnMView1.ViewX := 0;
ImageEnMView1.ViewY := 0;

See Also

ViewX
SetViewXY
DisplayImageAt