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


Glossary Item Box

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

Syntax

Visual Basic (Declaration) 
Public Property PageBreak As Boolean
Visual Basic (Usage)Copy Code
Dim instance As Row
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 sets whether a hard page break is inserted before this row when printing.
C#Copy Code
FarPoint.Win.Spread.Row r;
r = fpSpread1.ActiveSheet.Rows[0, 3];
r.PageBreak = true;
Visual BasicCopy Code
Dim r As FarPoint.Win.Spread.Row
r = FpSpread1.ActiveSheet.Rows(0, 3)
r.PageBreak = True

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

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