Spread ASP.NET 6.0 Product Documentation
PageMaxAlign Property
See Also  Example Send Feedback
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > SheetView Class : PageMaxAlign Property


Glossary Item Box

Gets or sets whether to show the maximum number of rows on the last page.

Syntax

Visual Basic (Declaration) 
Public Property PageMaxAlign As Boolean
Visual Basic (Usage)Copy Code
Dim instance As SheetView
Dim value As Boolean
 
instance.PageMaxAlign = value
 
value = instance.PageMaxAlign
C# 
public bool PageMaxAlign {get; set;}

Property Value

Boolean: true to display the maximum number; false otherwise

Remarks

When this property is set to true, the last page displays the PageSize of rows, even though some of these rows already might have been displayed in the previous page. When this property is set to false, the last page displays only the rows that were not displayed in the previous page.

Example

This example only displays the rows on the last page that were not displayed on the previous page.
C#Copy Code
FpSpread1.ActiveSheetView.RowCount = 54;
FpSpread1.ActiveSheetView.PageMaxAlign = false; 
Visual BasicCopy Code
FpSpread1.ActiveSheetView.RowCount = 54
FpSpread1.ActiveSheetView.PageMaxAlign = False 

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

© 2002-2012 GrapeCity, Inc. All Rights Reserved.