Spread Windows Forms 7.0 Product Documentation
GetColumnPageBreak Method
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class : GetColumnPageBreak Method

Column index

Glossary Item Box

Gets whether a forced page break is inserted before the specified column on this sheet when printing.


Visual Basic (Declaration) 
Public Function GetColumnPageBreak( _
   ByVal column As Integer _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As SheetView
Dim column As Integer
Dim value As Boolean
value = instance.GetColumnPageBreak(column)
public bool GetColumnPageBreak( 
   int column


Column index

Return Value

Boolean: true if there is a forced page break before the specified column; false otherwise


This example illustrates the use of this member by returning whether a page break is inserted before the specified column when printing.
C#Copy Code
bool b;
fpSpread1.ActiveSheet.SetColumnPageBreak(1, true);
b = fpSpread1.ActiveSheet.GetColumnPageBreak(1);
label1.Text = "Is there a page break for column 1 = " + b.ToString();
Visual BasicCopy Code
Dim b As Boolean
FpSpread1.ActiveSheet.SetColumnPageBreak(1, True)
b = FpSpread1.ActiveSheet.GetColumnPageBreak(1)
Label1.Text = "Is there a page break for column 1 = " & b.ToString()


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.