Spread for ASP.NET 10 Product Documentation
GetPageBreak Method (DefaultSheetAxisModel)
Example 


Row or column index
Gets whether a page break occurs at the specified row or column.
Syntax
'Declaration
 
Public Overrides Function GetPageBreak( _
   ByVal index As Integer _
) As Boolean
'Usage
 
Dim instance As DefaultSheetAxisModel
Dim index As Integer
Dim value As Boolean
 
value = instance.GetPageBreak(index)
public override bool GetPageBreak( 
   int index
)

Parameters

index
Row or column index
Example
This example uses the GetPageBreak method.
FarPoint.Web.Spread.Column col;
col = FpSpread1.ActiveSheetView.Columns[2];
col.PageBreak = true;
FarPoint.Web.Spread.Model.DefaultSheetAxisModel dsam = new FarPoint.Web.Spread.Model.DefaultSheetAxisModel();
dsam = (FarPoint.Web.Spread.Model.DefaultSheetAxisModel)FpSpread1.ActiveSheetView.ColumnAxisModel;
dsam.GetPageBreak(2);
Dim col As FarPoint.Web.Spread.Column
col = FpSpread1.ActiveSheetView.Columns(2)
col.PageBreak = True
Dim dsam As New FarPoint.Web.Spread.Model.DefaultSheetAxisModel()
dsam = FpSpread1.ActiveSheetView.ColumnAxisModel
dsam.GetPageBreak(2)
Requirements

Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

DefaultSheetAxisModel Class
DefaultSheetAxisModel Members

 

 


Copyright © GrapeCity, inc. All rights reserved.