ImageEn, unit imageenview

TImageEnView.OffsetX

TImageEnView.OffsetX


Declaration

property OffsetX: integer; (Read-only)


Description

Returns the horizontal position where the image has been drawn. If ImageHorizAlignment is iehLeft, OffsetX will be zero, whereas for iehCenter it will be (Control Width - Image Width) div 2.
Negative values mean part of the image is off screen.

Note: This value only indicates the initial draw position for an image, it is not related to scrolling (unlike ViewX).


See Also

- OffsetY
- XScr2Bmp
- VisibleBitmapRect