ImgShift
Previous  Top  Next

Prototype

ImgShift(intImgeHandle, intHorizontalShift, intVerticalShift)

Description

It shifts the image content by the number of specified pixels for each direction.

Parameters

intImageHandle: integer value corresponding to the image handle.
intHorizontalShift: integer value corresponding to the horizontal shift in pixel. Can be negative to shift to left or positive to shift to right.
intVerticalShift: integer value corresponding to the vertical shift in pixel. Can be negative to shift to up or positive to shift to bottom.

Returned value

None.

Notes

None.

Example

//It shift the image to 10 pixel left and 5 pixel up
ImgShift(_CurrentImage,10,-5);