Example-VB | Example-VC++ |
Returns or sets the vertical 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.ScrollPositionY[=value]
Long
Setting the ScrollPositionY property causes the displayed image to scroll vertically 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 ScrollPositionY property causes the displayed image to be refreshed automatically.
Available at run-time as read-and-write.