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


view
View that contains the sheet being printed
g
Graphics device that handles printing
sheetRectangle
Rectangular area that represents the area of the sheet to be printed
pageNum
Number of the current page being printed

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 sheetRectangle As Rectangle, _
   ByVal pageNum As Integer _
)
Visual Basic (Usage)Copy Code
Dim view As SpreadView
Dim g As Graphics
Dim sheetRectangle As Rectangle
Dim pageNum As Integer
 
Dim instance As New PrintBackgroundEventArgs(view, g, sheetRectangle, pageNum)
C# 
public PrintBackgroundEventArgs( 
   SpreadView view,
   Graphics g,
   Rectangle sheetRectangle,
   int pageNum
)

Parameters

view
View that contains the sheet being printed
g
Graphics device that handles printing
sheetRectangle
Rectangular area that represents the area of the sheet to be printed
pageNum
Number of the current page being printed

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.