VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Pdf.UI.JavaScript Namespace / WinFormsPdfJsApp Class / alert(String,Int32,Int32,String,PdfJsDoc) Method
Syntax Requirements SeeAlso
In This Topic
alert(String,Int32,Int32,String,PdfJsDoc) Method (WinFormsPdfJsApp)
In This Topic
Displays an alert dialog box.
Syntax
'Declaration

Public Overrides Function alert( _
ByVal cMsg
A string containing the message to be displayed.
As System.String, _
ByVal nIcon
(optional) An icon type. The default is 0.
As System.Int32, _
ByVal nType
(optional) A button group type. The default is 0.
As System.Int32, _
ByVal cTitle
(optional) The dialog box title.
As System.String, _
ByVal oDoc
(optional) The Doc object that the alert should be associated with.
As Vintasoft.Imaging.Pdf.JavaScriptApi.PdfJsDoc _
) As System.Int32
public override System.Int32 alert(
System.String cMsg,
System.Int32 nIcon,
System.Int32 nType,
System.String cTitle,
Vintasoft.Imaging.Pdf.JavaScriptApi.PdfJsDoc oDoc
)

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.
Requirements

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

See Also