'Declaration Public Overridable Function alert( _
ByVal cMsgA 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.