Spread for ASP.NET 10 Product Documentation
ResetTag Method
Example 


Resets the tag for the cell to empty.
Syntax
'Declaration
 
Public Sub ResetTag() 
'Usage
 
Dim instance As Cell
 
instance.ResetTag()
public void ResetTag()
Example
This example uses the ResetTag method.
FarPoint.Web.Spread.Cell mycell;
mycell = FpSpread1.Cells[1, 1];
mycell.Value = 5;
object tagvalue;
tagvalue = "tag";
mycell.HorizontalAlign = HorizontalAlign.Center;
mycell.VerticalAlign = VerticalAlign.Top;
FpSpread1.ActiveSheetView.Rows[1].Height = 80;
//mycell.ResetTag();
//mycell.ResetValue();
//mycell.ResetHorizontalAlignment();
//mycell.ResetVerticalAlignment();
Dim mycell As FarPoint.Web.Spread.Cell
mycell = FpSpread1.Cells(1, 1)
mycell.Value = 5
Dim tagvalue As Object
tagvalue = "tag"
mycell.HorizontalAlign = HorizontalAlign.Center
mycell.VerticalAlign = VerticalAlign.Top
FpSpread1.ActiveSheetView.Rows(1).Height = 80
'mycell.ResetTag()
'mycell.ResetValue()
'mycell.ResetHorizontalAlignment()
'mycell.ResetVerticalAlignment()
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

Cell Class
Cell Members

 

 


Copyright © GrapeCity, inc. All rights reserved.