ImageEn, unit imageenview |
|
TImageEnView.SetViewXY
Declaration
procedure SetViewXY(x, y: integer);
Description
Sets
ViewX and
ViewY in one step to change the displayed portion of the image (programmatic scrolling).
Values are specified in terms of the bitmap.
Note: You can also use
SetViewXYSmooth to smoothly scroll to the position
// Scroll the view to show layer #1
ImageEnView1.SetViewXY( ImageEnView1.Layers[1].PosX, ImageEnView1.Layers[1].PosY );
See Also
◼OuterMargin