Gets the ending index for this range of rows.
Syntax
Visual Basic (Declaration) | |
---|
Public ReadOnly Property Index2 As Integer |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As Row
Dim value As Integer
value = instance.Index2 |
C# | |
---|
public int Index2 {get;} |
Property Value
Integer index of the ending row in a range
Remarks
Example
This example illustrates the use of this member by returning the indexes of the rows in the range.
C# | Copy Code |
---|
FarPoint.Win.Spread.Row r;
r = fpSpread1.ActiveSheet.Rows[0, 3];
listBox1.Items.AddRange(new Object[] {r.Index.ToString(), r.Index2.ToString()}); |
Visual Basic | Copy Code |
---|
Dim r As FarPoint.Win.Spread.Row
r = FpSpread1.ActiveSheet.Rows(0, 3)
ListBox1.Items.AddRange(New Object() {r.Index.ToString(), r.Index2.ToString()}) |
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also