Spread Windows Forms 6.0 Product Documentation
PrintHeaderFooterAreaEventArgs Constructor
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > PrintHeaderFooterAreaEventArgs Class : PrintHeaderFooterAreaEventArgs Constructor


view
View that contains the sheet being printed
g
Graphics device that handles printing
isHeader
Determines if the area being printed in the header or footer
rectangle
Rectangle area representing the area of the sheet to be printed
pageNum
Number of the current page being printed
cells
Cell range

Glossary Item Box

Creates a new object with the PrintBackground event arguments.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal view As SpreadView, _
   ByVal g As Graphics, _
   ByVal isHeader As Boolean, _
   ByVal rectangle As Rectangle, _
   ByVal pageNum As Integer, _
   ByVal cells As CellRange _
)
Visual Basic (Usage)Copy Code
Dim view As SpreadView
Dim g As Graphics
Dim isHeader As Boolean
Dim rectangle As Rectangle
Dim pageNum As Integer
Dim cells As CellRange
 
Dim instance As New PrintHeaderFooterAreaEventArgs(view, g, isHeader, rectangle, pageNum, cells)
C# 
public PrintHeaderFooterAreaEventArgs( 
   SpreadView view,
   Graphics g,
   bool isHeader,
   Rectangle rectangle,
   int pageNum,
   CellRange cells
)

Parameters

view
View that contains the sheet being printed
g
Graphics device that handles printing
isHeader
Determines if the area being printed in the header or footer
rectangle
Rectangle area representing the area of the sheet to be printed
pageNum
Number of the current page being printed
cells
Cell range

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

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