ImageEn, unit iemview

TImageEnMView.ViewX

TImageEnMView.ViewX

Declaration

property ViewX: Integer;

Description

Specifies the first column visible at the top-left corner of the control, in pixels (for example, if the user has scrolled horizontally by two columns then it will return 2 * ThumbWidth). It is only relevant when GridWidth has a value greater than zero (otherwise it always returns 0).

You can set ViewX to simulate horizontal scrollbar movement.

Example

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

See Also

ViewY
SetViewXY
DisplayImageAt