Description
Launches a modal dialog with the specified URI. The window hosts a browser window which displays the html page.
Visual Basic
Public static Function ShowModalWindow( htmlPage As Uri ) As bool
Parameters
Parameters | Description |
---|---|
Uri htmlPage | URI of the page to be loaded into the modal window. |
Returns
True - OK button was clicked.
False - CANCEL button was clicked or invalid URI is specified.
Remarks
Always persists the size and position of the dialog upon exit.
Uses a Nothing or null owner window.
Example (C#)
Uri uri = new Uri("https://anywebsite.com"); bool rc = Autodesk.AutoCAD.ApplicationServices.Application.ShowModalWindow(uri);
Links
Application Class, Autodesk.AutoCAD.ApplicationServices Namespace