www.mxdraw.com
|
获取用户输入的距离值
[ object, uuid(E1B32720-68A8-49C6-82E1-4B920714B7C5), dual, nonextensible, helpstring("IMxDrawUiPrDist interface"), pointer_default(unique) ] interface IMxDrawUiPrDist : IMxDrawUiPrBase;
MxDrawUiPrPoint.idl
例如: C#
MxDrawUiPrDist getDouble = new MxDrawUiPrDist(); getDouble.message = "输入一个数值"; if (getDouble.go() == MCAD_McUiPrStatus.mcOk) { Double dVal = getDouble.value(); MessageBox.Show(dVal.ToString()); }