Spread Windows Forms 11.0 Product Documentation
GetColumnPageBreak Method
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class : GetColumnPageBreak Method
Column index
Gets whether a forced page break is inserted before the specified column on this sheet when printing.
Syntax
'Declaration
 
Public Function GetColumnPageBreak( _
   ByVal column As Integer _
) As Boolean
'Usage
 
Dim instance As SheetView
Dim column As Integer
Dim value As Boolean
 
value = instance.GetColumnPageBreak(column)
public bool GetColumnPageBreak( 
   int column
)

Parameters

column
Column index

Return Value

Boolean: true if there is a forced page break before the specified column; false otherwise
Example
This example illustrates the use of this member by returning whether a page break is inserted before the specified column when printing.
bool b;
fpSpread1.ActiveSheet.SetColumnPageBreak(1, true);
b = fpSpread1.ActiveSheet.GetColumnPageBreak(1);
label1.Text = "Is there a page break for column 1 = " + b.ToString();
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()
See Also

Reference

SheetView Class
SheetView Members
SetColumnPageBreak Method

User-Task Documentation

Adding a Page Break