Spread for ASP.NET 7.0 Product Documentation
PageMaxAlign Property
See Also  Example Support Options
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 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.