FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SpreadView Class : GetSheetTabRectangle Method |
'Declaration Public Function GetSheetTabRectangle( _ ByVal sheetIndex As Integer _ ) As Rectangle
'Usage 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())
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8