Example-VB | Example-VC++ |
Returns or sets the horizontal scroll position in pixels.
Ö | Imaging for Windows Professional Edition V1.0, V1.1, and V2.0 |
Ö | Imaging for Windows 95 and 98 |
Ö | Imaging for Windows NT 4.0 |
Image Edit control
object.ScrollPositionX[=value]
Long
Setting the ScrollPositionX property causes the displayed image to scroll horizontally to the pixel position specified.
To set the scroll position prior to displaying an image, the ScrollPositionX and ScrollPositionY properties must be set in the Load event.
When the image is first displayed using the Display method, this property is set to 0 by default.
When the AutoRefresh property is set to True, changing the ScrollPositionX property causes the displayed image to be refreshed automatically.
Available at run-time as read-and-write.