Spread Windows Forms 10.0 Product Documentation
PrintMessageBoxEventArgs Constructor(SpreadView,String,Int32,Boolean,Boolean)


View that contains the sheet being printed
Value of the PrintInfo.AbortMessage property for this sheet
Print job identifier
Whether the print job is beginning
Flags event for PrintPreview
Creates a new object with the PrintMessageBox event arguments.
Syntax
'Declaration
 
Public Function New( _
   ByVal view As SpreadView, _
   ByVal abortMessage As String, _
   ByVal id As Integer, _
   ByVal beginPrinting As Boolean, _
   ByVal isPreview As Boolean _
)
'Usage
 
Dim view As SpreadView
Dim abortMessage As String
Dim id As Integer
Dim beginPrinting As Boolean
Dim isPreview As Boolean
 
Dim instance As New PrintMessageBoxEventArgs(view, abortMessage, id, beginPrinting, isPreview)
public PrintMessageBoxEventArgs( 
   SpreadView view,
   string abortMessage,
   int id,
   bool beginPrinting,
   bool isPreview
)

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
isPreview
Flags event for PrintPreview
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

PrintMessageBoxEventArgs Class
PrintMessageBoxEventArgs Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.