Spread for ASP.NET 9.0 Product Documentation
PageBreak Property (Column)
Example 


Gets or sets whether a page break is inserted before this column when printing.
Syntax
'Declaration
 
Public Property PageBreak As Boolean
'Usage
 
Dim instance As Column
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.Column col;
col = FpSpread1.ActiveSheetView.Columns[2];
col.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 col As FarPoint.Web.Spread.Column
col = FpSpread1.ActiveSheetView.Columns(2)
col.PageBreak = True
FpSpread1.SavePdf("c:\zipfile\testprint.pdf")
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

Column Class
Column Members

 

 


Copyright © GrapeCity, inc. All rights reserved.