FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > FpSpread Class : GotoPage Method |
Use this method to scroll to a specific page of the active sheet using code.
You can allow users to scroll to a specific page of the active sheet by using the Mode, Position, and Align properties to provide page navigation aids on the tool bars of the component.
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);
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 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