Spread for ASP.NET 10 Product Documentation
SetTag Method (SheetView)
Example 


Row index (Set to -1 for all rows)
Column index (Set to -1 for all columns)
Tag value for the specified cell, column, row, or sheet
Sets the application-defined tag value for the specified cell, column, row, or entire sheet.
Syntax
'Declaration
 
Public Sub SetTag( _
   ByVal row As Integer, _
   ByVal column As Integer, _
   ByVal value As Object _
) 
'Usage
 
Dim instance As SheetView
Dim row As Integer
Dim column As Integer
Dim value As Object
 
instance.SetTag(row, column, value)
public void SetTag( 
   int row,
   int column,
   object value
)

Parameters

row
Row index (Set to -1 for all rows)
column
Column index (Set to -1 for all columns)
value
Tag value for the specified cell, column, row, or sheet
Example
This example uses the SetTag 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

 

 


Copyright © GrapeCity, inc. All rights reserved.