Spread for ASP.NET 9.0 Product Documentation
PrintBackgroundEventArgs Constructor


Spread that contains the sheet being printed
Graphics device that handles printing
Rectangle area representing the area of the sheet to be printed
Number of the current page being printed
Creates a new object with the PrintBackground event arguments.
Syntax
'Declaration
 
Public Function New( _
   ByVal spread As FpSpread, _
   ByVal g As Graphics, _
   ByVal sheetRectangle As Rectangle, _
   ByVal pageNum As Integer _
)
'Usage
 
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)
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 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

PrintBackgroundEventArgs Class
PrintBackgroundEventArgs Members

 

 


Copyright © GrapeCity, inc. All rights reserved.