Spread Windows Forms 7.0 Product Documentation
GetOwnerPrintRowPageBreaks(Graphics,Rectangle,Int32,Boolean,OwnerPrintInfo) Method
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > FpSpread Class > GetOwnerPrintRowPageBreaks Method : GetOwnerPrintRowPageBreaks(Graphics,Rectangle,Int32,Boolean,OwnerPrintInfo) Method


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 info.

Glossary Item Box

Gets the row page breaks for the specified sheet under the current printing conditions.

Syntax

Visual Basic (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()
Visual Basic (Usage)Copy Code
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)
C# 
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 info.

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.