Gets the rectangle of the tab associated with a sheet for the view.
Syntax
Visual Basic (Usage) | Copy Code |
---|
Dim instance As SpreadView
Dim sheetIndex As Integer
Dim value As Rectangle
value = instance.GetSheetTabRectangle(sheetIndex) |
Parameters
- sheetIndex
- Sheet index for which to retrieve a tab rectangle
Return Value
Rectangle of the tab associated with the sheet
Example
This example uses the GetSheetTabRectangle method.
C# | Copy Code |
---|
FarPoint.Win.Spread.SpreadView sv;
Rectangle r;
fpSpread1.Sheets.Count = 3;
sv = fpSpread1.GetRootWorkbook();
r = sv.GetSheetTabRectangle(0);
MessageBox.Show(r.Size.ToString());
|
VB.NET | Copy Code |
---|
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())
|
Requirements
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8
See Also