ImgShift

Top  Previous  Next

Prototype

 

ImgShift(intImageHandle, intHorizontalShift, intVerticalShift)

 

Description

 

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

 

// Shift the image to 10 pixel left and 5 pixel up

ImgShift(_CurrentImage,10,-5);