ImageGear Professional for Windows ActiveX
AddMotion Method

Description:

Makes the image referenced by pPage object look as though it was moving when it was captured. The amount of motion depends on the Extent parameter. The larger Extent makes the motion appear faster. Use Direction to select in which direction the image appears to be moving toward.

This method takes into account the ROI settings of pPage object, that are accessible via the IGPage Object.ROI Property. By default ROI is set to the entire image.

Syntax:

      AddMotion (pPage As IGPage, Extent As Long, Direction As
enumIGDirections)

Parameters:

Name Description
pPage Reference to IGPage Object for which the motion happens.
Extent Amount of motion to be applied. When Direction is set to "S, W, E, N", the correct range for this variable is 2 - 15. When Direction is set to "SE, NE, NW, SW", the correct range for this variable is 3 - 22. It determines the extent to which the pixels will be "moved" or "smeared", or literally how many pixel lengths each pixel will "move over".
Direction Any value of enumIGDirections Enumeration specifying compass direction.

Return Value:

N/A

Bits Per Pixel:

8-bit gray level, 9-16-bit gray level, 24, and 32

Sample:

Ip_Fx

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback