This method scrolls the image according to the values set in the ScrollHeight and ScrollWidth properties
[Visual Basic]   [ Boolean = ]imagekitcontrolname.ScrollImage(Dir As ScrollDirConstants)
[Visual C++]     [ BOOL = ]imagekitcontrolname.ScrollImage(long Dir)

Parameters

Name Explanation
Dir Sets the scroll direction. (0: Up and left, 1: Up, 2: Up and right, 3: Right, 4: Down and right, 5: Down, 6: Down and left, 7: Left)

It is also possible to use the following constants in Visual Basic (ikUpLeft = 0, ikUp = 1, ikUpRight = 2, ikRight = 3, ikDownRight = 4, ikDown = 5, ikDownLeft = 6, ikLeft = 7).

Return Value

Returns True (nonzero) if successful, otherwise returns False (0).

Explanation

The ScrollImage method scrolls the image according to the values set in the ScrollHeight and ScrollWidth properties.

The ScrollHeight and ScrollWidth properties must be set prior to executing this method. This method is only enabled when the image is displayed in actual size.

 

The ImageKit8 ActiveX is a product created by Newtone Corporation