Click or drag to resize

ScrollBarCollection AddScrollBar Method

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

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

Parameters

row
Type: System Int32
The row position of the scrollbar.
column
Type: System Int32
The column position of the scrollbar.
height
Type: System Int32
The height of the scrollbar.
width
Type: System Int32
The width of the scrollbar.

Return Value

Type: IScrollBarShape
An instance of IScrollBarShape representing the added scrollbar.

Implements

IScrollBarShapes AddScrollBar(Int32, Int32, Int32, Int32)
See Also