ImageEn, unit imageenview

TImageEnView.ExtentX

TImageEnView.ExtentX


Declaration

property ExtentX: integer; (Read-only)


Description

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


Example

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


See Also

- ExtentY
- ViewX
- XScr2Bmp
- VisibleBitmapRect