Spread for ASP.NET 9.0 Product Documentation
GetCellFromTag Method
Example 


Cell object in Cells collection from which to start (pass null to start from beginning)
Tag object to identify the Cell you are looking for
Gets a cell with a specific tag on the sheet.
Syntax
'Declaration
 
Public Function GetCellFromTag( _
   ByVal cellToStart As Cell, _
   ByVal tagToFind As Object _
) As Cell
'Usage
 
Dim instance As SheetView
Dim cellToStart As Cell
Dim tagToFind As Object
Dim value As Cell
 
value = instance.GetCellFromTag(cellToStart, tagToFind)
public Cell GetCellFromTag( 
   Cell cellToStart,
   object tagToFind
)

Parameters

cellToStart
Cell object in Cells collection from which to start (pass null to start from beginning)
tagToFind
Tag object to identify the Cell you are looking for

Return Value

Cell object corresponding to the tag
Example
This example uses the GetCellFromTag method.
FarPoint.Web.Spread.SheetView sv;
sv = FpSpread1.ActiveSheetView;
sv.SetTag(1, 1, "test");
ListBox1.Items.Add(sv.GetCellFromTag(null, "test").ToString());
Dim sv As FarPoint.Web.Spread.SheetView
sv = FpSpread1.ActiveSheetView
sv.SetTag(1, 1, "test")
ListBox1.Items.Add(sv.GetCellFromTag(Nothing, "test").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

SheetView Class
SheetView Members

User-Task Documentation

Adding a Tag to a Cell

 

 


Copyright © GrapeCity, inc. All rights reserved.