Gets or sets whether the sheet displays the number of pages and the arrows for navigating to other pages in the sheet.
Syntax
Visual Basic (Declaration) | |
---|
Public Property AllowPage As Boolean |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As SheetView
Dim value As Boolean
instance.AllowPage = value
value = instance.AllowPage |
C# | |
---|
public bool AllowPage {get; set;} |
Property Value
Boolean:
true to display the page numbers and navigation aids;
false otherwise
Remarks
Example
This example assigns a SheetView object to the active sheet and defines the number of columns and rows in the sheet, then sets AllowPage to true, which allows the user to click the page arrows on the Command Bar to scroll between pages of rows.
C# | Copy Code |
---|
FarPoint.Web.Spread.SheetView sv = FpSpread1.ActiveSheetView;
sv.ColumnCount = 5;
sv.PageSize = 10;
sv.RowCount = 40;
sv.AllowPage = true;
|
Visual Basic | Copy Code |
---|
Dim sv As FarPoint.Web.Spread.SheetView
sv = FpSpread1.ActiveSheetView
sv.ColumnCount = 5
sv.PageSize = 10
sv.RowCount = 40
sv.AllowPage = True |
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