ScrollBars Property

Example-VB Example-VC++

Returns or sets whether a displayed image contains horizontal and/or vertical scroll bars.

Available With

Ö Imaging for Windows Professional Edition V1.0, V1.1, and V2.0
Ö Imaging for Windows 95 and 98
Ö Imaging for Windows NT 4.0

Applies To

Image Edit control

Syntax

object.ScrollBars[={True|False}]

Data Type

Boolean

Setting Description

True (default) Horizontal and/or vertical scroll bars are displayed
False No scroll bars are displayed

Remarks

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.