Example-VB | Example-VC++ |
Returns or sets whether a displayed image contains horizontal and/or vertical scroll bars.
Ö | 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.ScrollBars[={True|False}]
Boolean
Setting | Description |
True (default) | Horizontal and/or vertical scroll bars are displayed |
False | No scroll bars are displayed |
If this property is set to True, horizontal and/or vertical scroll bars are displayed only when the image extends beyond the object’s borders.
If the image has scroll bars and the ScrollShortcutsEnabled property is set to True, accelerator keys are provided to permit users to scroll an image using the keyboard.
When the AutoRefresh property is set to True, changing the ScrollBars property causes the displayed image to be refreshed automatically.