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

Public Overridable 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 PdfJsDoc _
) As System.Int32
public virtual System.Int32 alert(
System.String cMsg,
System.Int32 nIcon,
System.Int32 nType,
System.String cTitle,
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 11; .NET 10; .NET 9; .NET 8; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also