www.mxdraw.com
内容索引主面
前一个向上下一个
IMxDrawUiPrDist 接口

获取用户输入的距离值

IDL
[ 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());
     }
Copyright (c) 2010. All rights reserved.
你认为该帮助怎么样? 发送反馈信息!