alert(String,Int32,Int32,String,PdfJsDoc) Method (WinFormsPdfJsApp)
Displays an alert dialog box.
'Declaration
Public Overrides Function alert( _
ByVal As System.String, _
ByVal As System.Int32, _
ByVal As System.Int32, _
ByVal As System.String, _
ByVal As Vintasoft.Imaging.Pdf.JavaScriptApi.PdfJsDoc _
) As System.Int32
Parameters
- cMsg
- A string containing the message to be displayed.
- nIcon
- (optional) An icon type. The default is 0.
- nType
- (optional) A button group type. The default is 0.
- cTitle
- (optional) The dialog box title.
- oDoc
- (optional) The Doc object that the alert should be associated with.
Return Value
The type of the button that was pressed by the user.
Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5