alert(String,Int32,Int32,String,PdfJsDoc) Method (PdfJsApp)
In This Topic
Displays an alert dialog box.
Syntax
'Declaration
Public Overridable Function alert( _
ByVal As System.String, _
ByVal As System.Int32, _
ByVal As System.Int32, _
ByVal As System.String, _
ByVal As PdfJsDoc _
) As System.Int32
public virtual System.Int32 alert(
System.String ,
System.Int32 ,
System.Int32 ,
System.String ,
PdfJsDoc
)
public: virtual System.Int32 alert(
System.String ,
System.Int32 ,
System.Int32 ,
System.String ,
PdfJsDoc*
)
public:
virtual System.Int32 alert(
System.String ,
System.Int32 ,
System.Int32 ,
System.String ,
PdfJsDoc^
)
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