| ImageEn, unit imageenview |
|
TImageEnView.OffsetY
Declaration
property OffsetY: Integer;
Description
Returns the vertical position where the image has been drawn. If
ImageVertAlignment is ievTop,
OffsetY will be zero, whereas for
ievCenter it will be (Control Height - Image Height) 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
ViewY)
Read-only
Example
// Get Offset values
offX := ImageEnView1.OffsetX;
offY := ImageEnView1.OffsetY;
See Also
◼OffsetX
◼ViewX
◼ViewY
◼ExtentX
◼ExtentY
◼YScr2Bmp
◼VisibleBitmapRect