把文字转成一堆曲线.
[helpstring("method ToCurves")] HRESULT ToCurves([out,retval] IMxDrawResbuf** ppCurves);
例如: C#
MxDrawUtility mxUtility = new MxDrawUtility(); MxDrawPoint getPt; MxDrawEntity ent = mxUtility.GetEntity(out getPt, "选择文字对象"); if (ent == null) return; MxDrawText txt = (MxDrawText)ent; MxDrawResbuf ret = txt.ToCurves(); if (ret == null) return; for (int i = 0; i < ret.Count; i++) { MxDrawEntity newEnt = (MxDrawEntity)ret.AtObject(i); axMxDrawX1.DrawEntity(newEnt); }