Spread for ASP.NET 11 Product Documentation
Reset Method (PagerInfo)
Example 


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > PagerInfo Class : Reset Method
Sets the properties of the page navigation aids of the Spread component to their default values.
Syntax
'Declaration
 
Public Sub Reset() 
'Usage
 
Dim instance As PagerInfo
 
instance.Reset()
public void Reset()
Example
This example creates a spreadsheet with 5 columns and 150 rows and sets the properties for page navigation (when more rows are on a sheet than can be displayed at once).
FpSpread1.Pager.Reset(); 
FpSpread1.Columns.Count = 5; 
FpSpread1.Rows.Count = 150; 
FpSpread1.ActiveSheetView.PageSize = 30; 
FpSpread1.Pager.Align = HorizontalAlign.Right; 
FpSpread1.Pager.BackColor = Color.Yellow; 
FpSpread1.Pager.Font.Bold = True; 
FpSpread1.Pager.ForeColor = Color.DarkBlue; 
FpSpread1.Pager.Position = FarPoint.Web.Spread.PagerPosition.Top; 
FpSpread1.Pager.Mode = FarPoint.Web.Spread.PagerMode.Both; 
FpSpread1.Pager.PageCount = 3; 
FpSpread1.Pager.Reset()
FpSpread1.Columns.Count = 5
FpSpread1.Rows.Count = 150
FpSpread1.ActiveSheetView.PageSize = 30
FpSpread1.Pager.Align = HorizontalAlign.Right
FpSpread1.Pager.BackColor = Color.Yellow
FpSpread1.Pager.Font.Bold = True
FpSpread1.Pager.ForeColor = Color.DarkBlue
FpSpread1.Pager.Position = FarPoint.Web.Spread.PagerPosition.Top
FpSpread1.Pager.Mode = FarPoint.Web.Spread.PagerMode.Both
FpSpread1.Pager.PageCount = 3 
See Also

Reference

PagerInfo Class
PagerInfo Members