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


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

    Parameters

    g
    Graphics object used for printing
    rect
    Rectangle area that represents the area for printing
    sheet
    Sheet for which to calculate page breaks
    reCalc
    Whether to recalcuate the page break
    See Also