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


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread.Model Namespace > DefaultSheetAxisModel Class : GetPageBreak Method
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)
See Also

Reference

DefaultSheetAxisModel Class
DefaultSheetAxisModel Members