[]
Represents the panes in a worksheet.
This interface provides access to the collection of IPane objects associated with a worksheet. Use Panes to retrieve the panes collection after freezing or splitting a worksheet view.
public interface IPanes
Public Interface IPanes
worksheet.SplitPanes(2, 2);
IPanes panes = worksheet.Panes;
int count = panes.Count;
IPane pane = panes[0];
| Name | Description |
|---|---|
| Count | Gets the number of pane objects in the collection. Use this property to determine how many worksheet panes are currently available from Panes. |
| this[int] | Gets the pane at the specified index. Use this indexer to access a pane in the IPanes collection after the worksheet has been split into multiple panes. |