This method scrolls the image according to the values set in the ScrollHeight and ScrollWidth properties
[C#++Builder] [ bool =
]imagekitcontrolname->ScrollImage(TVIkScrollDir
Dir)
[Delphi] [ Boolean =
]imagekitcontrolname.ScrollImage(Dir:
TVIkScrollDir)
[TVIkScrollDir Type]
Unit
IkInit
type
TVIkScrollDir = (vikUpLeft, vikUp,
vikUpRight, vikRight, vikDownRight, vikDown, vikDownLeft,
vikLeft);
Parameters
Name | Explanation |
---|---|
Dir | Sets the scroll direction. (vikUpLeft: Up and left, vikUp: Up, vikUpRight: Up and right, vikRight: Right, vikDownRight: Down and right, vikDown: Down, vikDownLeft: Down and left, vikLeft: Left) |
Return Value
Returns True if successful, otherwise returns False.
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.
Differences from ImageKit7/8/9/10 ActiveX
The VCL constants have a "v". In ActiveX, the constants are ikUpLeft, ikUp, ikUpRight, ikRight, ikDownRight, ikDown, ikDownLeft, ikLeft