ImageEn, unit imageenview |
|
TImageEnView.ViewX
Declaration
property ViewX: integer;
Description
ViewX and
ViewY specify the top-left of the image that is visible in the TImageEnView component window. Use ViewX/Y to programatically scroll images bigger than the TImageEnView.
Example
ImageEnView1.ViewX := 20; // View from column 20 of bitmap (i.e. first 20 pixels on the left of the image will no longer be visible)
ImageEnView1.Zoom := 200; // zoom image to 200%
ImageEnView1.ViewX := 20; // view from column 40 of bitmap (i.e. first 40 pixels on the left of the image will no longer be visible)
See Also
-
ViewY-
ExtentX-
XScr2Bmp-
VisibleBitmapRect