Visual Basic (Declaration) | |
---|---|
Public ReadOnly Property Pager As PagerInfo |
C# | |
---|---|
public PagerInfo Pager {get;} |
Property Value
PagerInfo object containing the page navigation informationWhen a sheet contains more rows than can be displayed in the component at once, the Spread component automatically creates pages that each contain a subset of the rows of that sheet. When there is more than one page for a sheet, you can decide which page navigation aids are displayed in the tool bars at the top or bottom of the component.
Spread can display either Next (>>) and Previous (<<) arrows, page numbers, or both as page navigation aids. You can display these page navigation aids at the top of the component (above the sheet) in a separate tool bar, the bottom of the component (below the sheet and below the other tool bar) in a separate tool bar, on the tool bar along with the sheet name tabs and command buttons, or some combination of these.
C# | Copy Code |
---|---|
FpSpread1.Columns.Count=5; FpSpread1.Rows.Count=150; FpSpread1.ActiveSheetView.PageSize=30; FpSpread1.Pager.Position=FarPoint.Web.Spread.PagerPosition.Top; FpSpread1.Pager.PageCount=3; FpSpread1.GotoPage(4); |
Visual Basic | Copy Code |
---|---|
FpSpread1.Columns.Count=5 FpSpread1.Rows.Count=150 FpSpread1.ActiveSheetView.PageSize=30 FpSpread1.Pager.Position=FarPoint.Web.Spread.PagerPosition.Top FpSpread1.Pager.PageCount=3 FpSpread1.GotoPage(4) |
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
Reference
FpSpread ClassFpSpread Members
PagerInfo Class