ImageEn, unit imageenview

TImageEnView.SetViewXY

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.


Example

// Scroll the view to show layer #1
ImageEnView1.SetViewXY( ImageEnView1.Layers[1].PosX, ImageEnView1.Layers[1].PosY );


See Also

OuterMargin