Spread Windows Forms 7.0 Product Documentation
PageBreak Property
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > Column Class : PageBreak Property


Glossary Item Box

Gets or sets whether a page break is inserted before this column when printing.

Syntax

Visual Basic (Declaration) 
Public Property PageBreak As Boolean
Visual Basic (Usage)Copy Code
Dim instance As Column
Dim value As Boolean
 
instance.PageBreak = value
 
value = instance.PageBreak
C# 
public bool PageBreak {get; set;}

Property Value

Boolean: true if page break is inserted; false otherwise

Example

This example specifies if a page break occurs before the column if the sheet is printed.
C#Copy Code
FarPoint.Win.Spread.Column col;
col = fpSpread1.ActiveSheet.Columns[10];
col.PageBreak = true;
Visual BasicCopy Code
Dim col As FarPoint.Win.Spread.Column
col = FpSpread1.ActiveSheet.Columns(10)
col.PageBreak = True

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.