Spread for ASP.NET 8.0 Product Documentation
PageBreak Property (Row)
Example 


Gets or sets whether a page break is inserted before this row when printing.
Syntax
'Declaration
 
Public Property PageBreak As Boolean
'Usage
 
Dim instance As Row
Dim value As Boolean
 
instance.PageBreak = value
 
value = instance.PageBreak
public bool PageBreak {get; set;}
Example
This example sets the PageBreak property.
FpSpread1.Sheets[0].ColumnCount = 10;
FpSpread1.Sheets[0].Cells[0, 0, FpSpread1.Sheets[0].RowCount - 1, FpSpread1.Sheets[0].ColumnCount - 1].Text = "test";
FarPoint.Web.Spread.Row r;
r = fpSpread1.ActiveSheet.Rows[1];
r.PageBreak = true;
FpSpread1.SavePdf("c:\\zipfile\\testprint.pdf");
FpSpread1.Sheets(0).ColumnCount = 10
FpSpread1.Sheets(0).Cells(0, 0, FpSpread1.Sheets(0).RowCount - 1, FpSpread1.Sheets(0).ColumnCount - 1).Text = "test"
Dim r As FarPoint.Web.Spread.Row
r = FpSpread1.ActiveSheetView.Rows(1)
r.PageBreak = True
FpSpread1.SavePdf("c:\zipfile\testprint.pdf")
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

Row Class
Row Members

 

 


Copyright © GrapeCity, inc. All rights reserved.