Spread for ASP.NET 7.0 Product Documentation
PrintEventArgs Constructor(Int32,Boolean,Boolean,Boolean)
See Also  Support Options
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > PrintEventArgs Class > PrintEventArgs Constructor : PrintEventArgs Constructor(Int32,Boolean,Boolean,Boolean)


sheetIndex
Index of the sheet to print
header
Whether to print the sheet header
pageBreak
Whether to include a page break
skip
Whether to skip printing this sheet

Glossary Item Box

Creates a new object with the Print event arguments.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal sheetIndex As Integer, _
   ByVal header As Boolean, _
   ByVal pageBreak As Boolean, _
   ByVal  As Boolean _
)
Visual Basic (Usage)Copy Code
Dim sheetIndex As Integer
Dim header As Boolean
Dim pageBreak As Boolean
Dim skip As Boolean
 
Dim instance As New PrintEventArgs(sheetIndex, header, pageBreak, skip)
C# 
public PrintEventArgs( 
   int sheetIndex,
   bool header,
   bool pageBreak,
   bool 
)

Parameters

sheetIndex
Index of the sheet to print
header
Whether to print the sheet header
pageBreak
Whether to include a page break
skip
Whether to skip printing this sheet

Requirements

Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.