Gets the number and position of unfrozen panes in a window
Syntax
'Declaration
Sub GetPane( _
ByVal As Short, _
ByRef As Integer, _
ByRef As Integer, _
ByRef As Integer, _
ByRef leftmostVisibleColumn As Integer, _
ByRef As Integer _
)
'Usage
Dim instance As IExcelWriter
Dim sheet As Short
Dim horizontalPosition As Integer
Dim verticalPosition As Integer
Dim topVisibleRow As Integer
Dim leftmostVisibleColumn As Integer
Dim paneIndex As Integer
instance.GetPane(sheet, horizontalPosition, verticalPosition, topVisibleRow, leftmostVisibleColumn, paneIndex)
void GetPane(
short ,
ref int ,
ref int ,
ref int ,
ref int leftmostVisibleColumn,
ref int
)
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
See Also