Spread ASP.NET 6.0 Product Documentation
PrintBackground Event
See Also  Send Feedback
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > FpSpread Class : PrintBackground Event


Glossary Item Box

Occurs before each page is printed.

Syntax

Visual Basic (Declaration) 
Public Event PrintBackground As PrintBackgroundEventHandler
Visual Basic (Usage)Copy Code
Dim instance As FpSpread
Dim handler As PrintBackgroundEventHandler
 
AddHandler instance.PrintBackground, handler
C# 
public event PrintBackgroundEventHandler PrintBackground

Event Data

The event handler receives an argument of type PrintBackgroundEventArgs containing data related to this event. The following PrintBackgroundEventArgs properties provide information specific to this event.

PropertyDescription
Graphics Gets or sets the graphics device that does the printing.
PageNumber Gets or sets the current page being printed.
SheetRectangle Gets or sets the rectangle area representing the sheet.

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.