Spread for ASP.NET 9.0 Product Documentation
GetPageIndex Method
Example 


Returns the page index the specified row is rendered in.
Syntax
'Declaration
 
Public Function GetPageIndex( _
   ByVal row As Integer _
) As Integer
'Usage
 
Dim instance As FpSpread
Dim row As Integer
Dim value As Integer
 
value = instance.GetPageIndex(row)
public int GetPageIndex( 
   int row
)

Parameters

row
Example
This example uses the GetPageIndex method.
FpSpread1.Sheets[0].RowCount = 30;
ListBox1.Items.Add(FpSpread1.GetColumnIndex(1).ToString());
ListBox1.Items.Add(FpSpread1.GetRowIndex(1, 1).ToString());
ListBox1.Items.Add(FpSpread1.GetPageIndex(11).ToString());
FpSpread1.Sheets(0).RowCount = 30
ListBox1.Items.Add(FpSpread1.GetColumnIndex(1).ToString())
ListBox1.Items.Add(FpSpread1.GetRowIndex(1, 1).ToString())
ListBox1.Items.Add(FpSpread1.GetPageIndex(11).ToString())
Requirements

Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

FpSpread Class
FpSpread Members

 

 


Copyright © GrapeCity, inc. All rights reserved.