Spread for ASP.NET 11 Product Documentation
ResetProperty Method (ISheetAxisModel)
Example 


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread.Model Namespace > ISheetAxisModel Interface : ResetProperty Method
Row or column index
Property to reset
Resets the specified SheetAxisModel property to its default value.
Syntax
'Declaration
 
Sub ResetProperty( _
   ByVal index As Integer, _
   ByVal prop As SheetAxisProperty _
) 
'Usage
 
Dim instance As ISheetAxisModel
Dim index As Integer
Dim prop As SheetAxisProperty
 
instance.ResetProperty(index, prop)
void ResetProperty( 
   int index,
   SheetAxisProperty prop
)

Parameters

index
Row or column index
prop
Property to reset
Example
FarPoint.Web.Spread.Model.ISheetAxisModel isa;
isa = (FarPoint.Web.Spread.Model.ISheetAxisModel)FpSpread1.ActiveSheetView.ColumnAxisModel;
isa.SetVisible(0, false);
isa.ResetProperty(0, FarPoint.Web.Spread.Model.SheetAxisProperty.Visible);
Dim isa As FarPoint.Web.Spread.Model.ISheetAxisModel
isa = FpSpread1.ActiveSheetView.ColumnAxisModel
isa.ResetProperty(0, FarPoint.Web.Spread.Model.SheetAxisProperty.Visible)
See Also

Reference

ISheetAxisModel Interface
ISheetAxisModel Members