|
发表于 2011-12-31 14:07:00
|
显示全部楼层
AcadTextStyle t;
double[] textInsertPoint = new double[3];
textInsertPoint[0] = 0; textInsertPoint[1] = 0; textInsertPoint[2] = 0;
MText = AcadDoc.ModelSpace.AddMText(textInsertPoint, 20, textString);
t = AcadDoc.ModelSpace.Database.TextStyles.Add("隶书");
t.SetFont("隶书",false,false,0,0);
MText.StyleName = "隶书";
这样可以 |
|