JavaScript Application Programming Interface (API) for AutoCAD
|
Autodesk.AutoCAD.js
function Acad.TaskDialog.showTaskDialog(strWindowTitle,strMainInstruction,strContentText,nCommonButtons);
Parameters |
Description |
strWindowTitle |
is the string for the dialog title. |
strMainInstruction |
is the string for main instruction in the dialog. |
strContentText |
is the string for the content text in the dialog. |
nCommonButtons |
is the integer flag, which specifies buttons displayed in the dialog. It can be bitwise value of enum Acad.TaskDialogButton. |
Returns the promise object, then the argument can be used. Success callback returns result in enum Acad.TaskDialogResult. This function returns promise pattern result, it has to be call in Promise Pattern with .then(onsuccess, onError) function.
Shows a custom task dialog.
Copyright (c) 2016. All rights reserved.
|
What do you think about this topic? Send feedback!
|