Spread Windows Forms 6.0 Product Documentation
PrintMessageBoxEventArgs Constructor
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > PrintMessageBoxEventArgs Class : PrintMessageBoxEventArgs Constructor


view
View that contains the sheet being printed
abortMessage
Value of the PrintInfo.AbortMessage property for this sheet
id
Print job identifier
beginPrinting
Whether the print job is beginning

Glossary Item Box

Creates a new object with the PrintMessageBox event arguments.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal view As SpreadView, _
   ByVal abortMessage As String, _
   ByVal id As Integer, _
   ByVal beginPrinting As Boolean _
)
Visual Basic (Usage)Copy Code
Dim view As SpreadView
Dim abortMessage As String
Dim id As Integer
Dim beginPrinting As Boolean
 
Dim instance As New PrintMessageBoxEventArgs(view, abortMessage, id, beginPrinting)
C# 
public PrintMessageBoxEventArgs( 
   SpreadView view,
   string abortMessage,
   int id,
   bool beginPrinting
)

Parameters

view
View that contains the sheet being printed
abortMessage
Value of the PrintInfo.AbortMessage property for this sheet
id
Print job identifier
beginPrinting
Whether the print job is beginning

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.