Spread Windows Forms 17
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / FpSpread Class / GetOwnerPrintColumnPageBreaks Method / GetOwnerPrintColumnPageBreaks(Graphics,Rectangle,Int32,Boolean,OwnerPrintInfo) Method
Graphics object used for printing
Rectangle area representing the area for printing
Sheet for which to calculate page breaks
Whether to recalcuate the page break
The printing information.


In This Topic
    GetOwnerPrintColumnPageBreaks(Graphics,Rectangle,Int32,Boolean,OwnerPrintInfo) Method
    In This Topic
    Gets the column page breaks for the specified sheet under the current printing conditions.
    Syntax
    'Declaration
     
    
    Public Overloads Function GetOwnerPrintColumnPageBreaks( _
       ByVal g As Graphics, _
       ByVal rect As Rectangle, _
       ByVal sheet As Integer, _
       ByVal reCalc As Boolean, _
       ByVal info As OwnerPrintInfo _
    ) As Integer()
    'Usage
     
    
    Dim instance As FpSpread
    Dim g As Graphics
    Dim rect As Rectangle
    Dim sheet As Integer
    Dim reCalc As Boolean
    Dim info As OwnerPrintInfo
    Dim value() As Integer
     
    value = instance.GetOwnerPrintColumnPageBreaks(g, rect, sheet, reCalc, info)
    public int[] GetOwnerPrintColumnPageBreaks( 
       Graphics g,
       Rectangle rect,
       int sheet,
       bool reCalc,
       OwnerPrintInfo info
    )

    Parameters

    g
    Graphics object used for printing
    rect
    Rectangle area representing the area for printing
    sheet
    Sheet for which to calculate page breaks
    reCalc
    Whether to recalcuate the page break
    info
    The printing information.
    See Also