ctgu123 发表于 2014-11-14 14:21:01

请教如何把某文字样式置为当前~

      TextStyleTable textStyleTable = acTrans.GetObject(acCurDb.TextStyleTableId, OpenMode.ForWrite) as TextStyleTable;
       TextStyleTableRecord acTextStyleTblRec = acTrans.GetObject(textStyleTable["CONTENT"], OpenMode.ForWrite) as TextStyleTableRecord;
         acCurDb.Textstyle = acTextStyleTblRec.ObjectId;

运行了怎么还是没用呢?
页: [1]
查看完整版本: 请教如何把某文字样式置为当前~