JavaScript Application Programming Interface (API) for AutoCAD
ContentsIndexHome
PreviousUpNext
Acad.Application.showHTMLDialog Function

Application.js

JavaScript
function Acad.Application.showHTMLDialog(url,options);
Parameters 
Description 
url 
specifies the URL address to the HTML document. 
options 

specifies the attributes for the HTML dialog. You can use these attributes:

bool modal;
bool allowResize;
bool allowMaximize;
bool allowMinimize;
bool persistSizeAndPosition;
bool initPosition;
bool initSize;
bool maxSize;
bool minSize;
int x;
int y;
int width;
int height;
int maxWidth;
int maxHeight;
int minWidth;
int minHeight;

The promise object, then the argument can be used.

Use this function to show a HTML dialog with the specified URL.

Links
Copyright (c) 2016. All rights reserved.
What do you think about this topic? Send feedback!