FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread 名前空間 > SpreadView クラス : GetSheetTabRectangle メソッド |
'Declaration
Public Function GetSheetTabRectangle( _ ByVal sheetIndex As Integer _ ) As Rectangle
'使用法
Dim instance As SpreadView Dim sheetIndex As Integer Dim value As Rectangle value = instance.GetSheetTabRectangle(sheetIndex)
public Rectangle GetSheetTabRectangle( int sheetIndex )
FarPoint.Win.Spread.SpreadView sv; Rectangle r; fpSpread1.Sheets.Count = 3; sv = fpSpread1.GetRootWorkbook(); r = sv.GetSheetTabRectangle(0); MessageBox.Show(r.Size.ToString());
Dim sv As FarPoint.Win.Spread.SpreadView Dim r As Rectangle FpSpread1.Sheets.Count = 3 sv = FpSpread1.GetRootWorkbook() r = sv.GetSheetTabRectangle(0) MessageBox.Show(r.Size.ToString())