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
)
Public Function AddScrollBar (
row As Integer,
column As Integer,
height As Integer,
width As Integer
) As IScrollBarShape
public:
virtual IScrollBarShape^ AddScrollBar(
int row,
int column,
int height,
int width
) sealed
abstract AddScrollBar :
row : int *
column : int *
height : int *
width : int -> IScrollBarShape
override AddScrollBar :
row : int *
column : int *
height : int *
width : int -> IScrollBarShape
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