Spread ASP.NET 6.0 Product Documentation
PrintBackgroundEventArgs Constructor
See Also  Send Feedback
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > PrintBackgroundEventArgs Class : PrintBackgroundEventArgs Constructor


spread
Spread that contains the sheet being printed
g
Graphics device that handles printing
sheetRectangle
Rectangle area representing 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 spread As FpSpread, _
   ByVal g As Graphics, _
   ByVal sheetRectangle As Rectangle, _
   ByVal pageNum As Integer _
)
Visual Basic (Usage)Copy Code
Dim spread As FpSpread
Dim g As Graphics
Dim sheetRectangle As Rectangle
Dim pageNum As Integer
 
Dim instance As New PrintBackgroundEventArgs(spread, g, sheetRectangle, pageNum)
C# 
public PrintBackgroundEventArgs( 
   FpSpread spread,
   Graphics g,
   Rectangle sheetRectangle,
   int pageNum
)

Parameters

spread
Spread that contains the sheet being printed
g
Graphics device that handles printing
sheetRectangle
Rectangle area representing the area of the sheet to be printed
pageNum
Number of the current page being printed

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2002-2012 GrapeCity, Inc. All Rights Reserved.