Spread ASP.NET 6.0 Product Documentation
Find Method
See Also  Example Send Feedback
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread.Model Namespace > ISheetSpanModel Interface : Find Method


row
Row index of the cell.
column
Column index of cell.

Glossary Item Box

Finds the cell span with the specified cell in the collection.

Syntax

Visual Basic (Declaration) 
Function Find( _
   ByVal row As Integer, _
   ByVal column As Integer _
) As CellRange
Visual Basic (Usage)Copy Code
Dim instance As ISheetSpanModel
Dim row As Integer
Dim column As Integer
Dim value As CellRange
 
value = instance.Find(row, column)
C# 
CellRange Find( 
   int row,
   int column
)

Parameters

row
Row index of the cell.
column
Column index of cell.

Return Value

CellRange object containing the cell range

Example

C#Copy Code
FarPoint.Web.Spread.Model.ISheetSpanModel iss;
iss = (FarPoint.Web.Spread.Model.ISheetSpanModel)FpSpread1.ActiveSheetView.SpanModel;
FarPoint.Web.Spread.Model.CellRange cr;
cr = iss.Find(0, 0);
string msg = "The first column in the span is " + cr.Column.ToString();
Response.Write("<script language='javascript'>alert('" + msg + "')</script>");
Visual BasicCopy Code
Dim iss As FarPoint.Web.Spread.Model.ISheetSpanModel
iss = FpSpread1.ActiveSheetView.SpanModel
Dim cr As FarPoint.Web.Spread.Model.CellRange
cr = iss.Find(0, 0)
Dim msg As String = "The first column in the span is " + cr.Column.ToString()
Response.Write("<script language='javascript'>alert('" & msg & "')</script>")

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2002-2012 GrapeCity, Inc. All Rights Reserved.