Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / Column Class / PageBreak Property
Example


In This Topic
    PageBreak Property (Column)
    In This Topic
    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;}

    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.
    FarPoint.Win.Spread.Column col;
    col = fpSpread1.ActiveSheet.Columns[10];
    col.PageBreak = true;
    Dim col As FarPoint.Win.Spread.Column
    col = fpSpread1.ActiveSheet.Columns(10)
    col.PageBreak = True
    See Also