Visual Basic (Declaration) | |
---|---|
Public Sub Reset() |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As PagerInfo instance.Reset() |
C# | |
---|---|
public void Reset() |
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).
C# | Copy Code |
---|---|
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; |
Visual Basic | Copy Code |
---|---|
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
|
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family