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 Basic | Copy Code |
---|
FpSpread1.Sheets(0).RowCount = 20
FpSpread1.Sheets(0).PageSize = 5
FpSpread1.CurrentPage = 2
|
Requirements
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
See Also