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


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 
Requirements

Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

PagerInfo Class
PagerInfo Members

 

 


Copyright © GrapeCity, inc. All rights reserved.