FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread 名前空間 > FpSpread クラス > SetActiveViewport メソッド : SetActiveViewport(Int32,Int32,Int32) メソッド |
'Declaration Public Overloads Sub SetActiveViewport( _ ByVal sheetIndex As Integer, _ ByVal rowViewportIndex As Integer, _ ByVal columnViewportIndex As Integer _ )
'使用法 Dim instance As FpSpread Dim sheetIndex As Integer Dim rowViewportIndex As Integer Dim columnViewportIndex As Integer instance.SetActiveViewport(sheetIndex, rowViewportIndex, columnViewportIndex)
public void SetActiveViewport( int sheetIndex, int rowViewportIndex, int columnViewportIndex )
例外 | 説明 |
---|---|
System.ArgumentOutOfRangeException | 指定されたシートのインデックスが範囲外です。0からシートの総数までの値を指定する必要があります。 |
fpSpread1.Sheets.Count = 3; fpSpread1.AddViewport(0, 0); fpSpread1.SetActiveViewport(1, 0, 1);
FpSpread1.Sheets.Count = 3 FpSpread1.AddViewport(1, 0, 0) FpSpread1.SetActiveViewport(1, 0, 1)