Set the number and position of unfrozen panes in a window
Syntax
'Declaration
Sub SetPane( _
ByVal As System.Short, _
ByVal As System.Integer, _
ByVal As System.Integer, _
ByVal As System.Integer, _
ByVal leftmostVisibleColumn As System.Integer, _
ByVal As System.Integer, _
ByVal As System.Boolean _
)
'Usage
Dim instance As IExcelReader
Dim sheet As System.Short
Dim horizontalPosition As System.Integer
Dim verticalPosition As System.Integer
Dim topVisibleRow As System.Integer
Dim leftmostVisibleColumn As System.Integer
Dim paneIndex As System.Integer
Dim isPanesFrozen As System.Boolean
instance.SetPane(sheet, horizontalPosition, verticalPosition, topVisibleRow, leftmostVisibleColumn, paneIndex, isPanesFrozen)
void SetPane(
System.short ,
System.int ,
System.int ,
System.int ,
System.int leftmostVisibleColumn,
System.int ,
System.bool
)
Parameters
- sheet
- The zero based sheet index used to locate the IExcelWorksheet instance
- horizontalPosition
- Set the value for the horizontal position of the split, 0 if none
- verticalPosition
- Set the value for the vertical position of the split, 0 if none
- topVisibleRow
- Set the count of top visible rows in the bottom pane
- leftmostVisibleColumn
- Set the count of leftmost visible columns in the right pane
- paneIndex
- The active pane number
- isPanesFrozen
- A flag indicate whether the pane is frozen
See Also