ScrollBars Property

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

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 the end user 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.

See Also

AutoRefresh property

Image topics in Imaging Concepts

Scroll event

ScrollImage method

ScrollShortcutsEnabled property

ScrollPositionX property

ScrollPositionY property