获取用户输入的整数值
[ object, uuid(B53F06C5-4E7B-491B-AAB2-1B4CEFC01FB1), dual, nonextensible, helpstring("IMxDrawUiPrInt interface"), pointer_default(unique) ] interface IMxDrawUiPrInt : IMxDrawUiPrBase;
MxDrawUiPrPoint.idl
例如: JS
var getNum = mxOcx.NewComObject("IMxDrawUiPrInt"); getNum.message = "输入个数"; if (getNum.go() != 1) { return; } var num = getNum.value(); alert(num);
接口