Gets whether a page break occurs at the specified row or column.
Syntax
Visual Basic (Declaration) | |
---|
Public Overrides Function GetPageBreak( _
ByVal index As Integer _
) As Boolean |
Parameters
- index
- Row or column index
Example
This example uses the GetPageBreak method.
C# | Copy Code |
---|
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); |
VB.NET | Copy Code |
---|
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