Spread Windows Forms 7.0 Product Documentation
PrintMessageBoxEventArgs Constructor(SpreadView,String,Int32,Boolean)
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > PrintMessageBoxEventArgs Class > PrintMessageBoxEventArgs Constructor : PrintMessageBoxEventArgs Constructor(SpreadView,String,Int32,Boolean)


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 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

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