Adesk::Boolean XXXX::subWorldDraw(AcGiWorldDraw* mode) //... AcDbMText* pMText = new AcDbMText(); pMText->setContents(_T("何志丹")); pMText->setLocation(AcGePoint3d(0,0,0)); pMText->setTextHeight(10); pMText->setAttachment(AcDbMText::kMiddleCenter); pMText->worldDraw(mode); pMText->close();