ImageEn, unit imageenview

TImageEnView.ExtentY

TImageEnView.ExtentY


Declaration

property ExtentY: integer; (Read-only)


Description

Returns the height of the area used to show the current image (i.e. the height of the image as it appears onscreen).
If scrollbars are visible, only the visible height will be returned.


Example

// Copy the actual view of ImageEnView1 as the current image of ImageEnView2
ImageEnView2.IEBitmap.Width  := ImageEnView1.ExtentX;
ImageEnView2.IEBitmap.Height := ImageEnView1.ExtentY;
ImageEnView1.DrawTo(ImageEnView2.IEBitmap.Canvas);


See Also

ExtentX
ViewY
YScr2Bmp
VisibleBitmapRect