Spread Windows Forms 12.0 Product Documentation
GetOwnerPrintRowPageBreaks(Graphics,Rectangle,Int32,Boolean,OwnerPrintInfo) Method


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > FpSpread Class > GetOwnerPrintRowPageBreaks Method : GetOwnerPrintRowPageBreaks(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 page break
The printing information.
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, _
   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.GetOwnerPrintRowPageBreaks(g, rect, sheet, reCalc, info)
public int[] GetOwnerPrintRowPageBreaks( 
   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 page break
info
The printing information.
See Also

Reference

FpSpread Class
FpSpread Members
Overload List