请教如何把某文字样式置为当前~
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]