Click or drag to resize

IScrollBarShapes AddScrollBar Method

Adds a scrollbar to the specified position on a grid with given dimensions.

Namespace: Spire.Xls.Core
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
IScrollBarShape AddScrollBar(
	int row,
	int column,
	int height,
	int width
)

Parameters

row
Type: System Int32
The row index where the scrollbar will be placed.
column
Type: System Int32
The column index where the scrollbar will be placed.
height
Type: System Int32
The height of the scrollbar.
width
Type: System Int32
The width of the scrollbar.

Return Value

Type: IScrollBarShape
An IScrollBarShape object representing the added scrollbar.
See Also