VintaSoft Imaging .NET SDK v8.7
Vintasoft.Imaging.Pdf.UI.JavaScript Namespace / WinFormsPdfJsApp Class / alert Method
A string containing the message to be displayed.
(optional) An icon type. The default is 0.
(optional) A button group type. The default is 0.
(optional) The dialog box title.
(optional) The Doc object that the alert should be associated with.



In This Topic
    alert Method (WinFormsPdfJsApp)
    In This Topic
    Displays an alert dialog box.
    Syntax
    'Declaration
     
    Public Overrides Function alert( _
       ByVal cMsg As String, _
       ByVal nIcon As Integer, _
       ByVal nType As Integer, _
       ByVal cTitle As String, _
       ByVal oDoc As PdfJsDoc _
    ) As Integer
    public override int alert( 
       string cMsg,
       int nIcon,
       int nType,
       string cTitle,
       PdfJsDoc oDoc
    )
    public: int alert( 
       string* cMsg,
       int nIcon,
       int nType,
       string* cTitle,
       PdfJsDoc* oDoc
    ) override 
    public:
    int alert( 
       String^ cMsg,
       int nIcon,
       int nType,
       String^ cTitle,
       PdfJsDoc^ oDoc
    ) override 

    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: Windows 10, Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also