Spread Windows Forms 12.0 Product Documentation
Get(Int32) Method
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > Rows Class > Get Method : Get(Int32) Method
Row index
Gets a specified row.
Syntax
'Declaration
 
Public Overloads Function Get( _
   ByVal row As Integer _
) As Row
'Usage
 
Dim instance As Rows
Dim row As Integer
Dim value As Row
 
value = instance.Get(row)
public Row Get( 
   int row
)

Parameters

row
Row index

Return Value

Row object for the specified row
Exceptions
ExceptionDescription
Specified row index is out of range. It must less than the row count or -1 for all.
Example
This example shows the use of the method in changing the background color of the row.
FarPoint.Win.Spread.Row r;
r = fpSpread1.ActiveSheet.Rows.Get(2);
r.BackColor = Color.Yellow;
Dim r As FarPoint.Win.Spread.Row
r = FpSpread1.ActiveSheet.Rows.Get(2)
r.BackColor = Color.Yellow
See Also

Reference

Rows Class
Rows Members
Overload List