Spread for ASP.NET 8.0 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 Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

DefaultSheetAxisModel Class
DefaultSheetAxisModel Members

 

 


Copyright © GrapeCity, inc. All rights reserved.