Spread for ASP.NET 7.0 Product Documentation
CurrentPage Property
See Also  Example Support Options
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > FpSpread Class : CurrentPage Property


Glossary Item Box

Gets or sets the current page.

Syntax

Visual Basic (Declaration) 
Public Property CurrentPage As Integer
Visual Basic (Usage)Copy Code
Dim instance As FpSpread
Dim value As Integer
 
instance.CurrentPage = value
 
value = instance.CurrentPage
C# 
public int CurrentPage {get; set;}

Property Value

Integer number of the page

Example

This example sets the current page.
C#Copy Code
FpSpread1.Sheets[0].RowCount = 20;
FpSpread1.Sheets[0].PageSize = 5;
FpSpread1.CurrentPage = 2;  
Visual BasicCopy Code
FpSpread1.Sheets(0).RowCount = 20
FpSpread1.Sheets(0).PageSize = 5
FpSpread1.CurrentPage = 2 

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

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.