Spread Windows Forms 6.0 Product Documentation
PrintHeaderFooterArea Event
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > FpSpread Class : PrintHeaderFooterArea Event


Glossary Item Box

Occurs when header or footer needs printing.

Syntax

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

Event Data

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

PropertyDescription
Cancel Gets or sets the cancel flag.
Cells Returns the range of cells being printed.
Graphics Gets or sets the graphics device that does the printing.
IsHeader Gets whether we are printing the header or footer.
PageNumber Gets or sets the current page being printed.
Rectangle Gets or sets the rectangle area representing the sheet.

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.