- 积分
 - 302
 
- 明经币
 -  个
 
- 注册时间
 - 2003-1-16
 
- 在线时间
 -  小时
 
- 威望
 -  
 
- 金钱
 -  个
 
- 贡献
 -  
 
- 激情
 -  
 
 
 
 
 
 
 | 
 
 
 楼主 |
发表于 2003-1-27 22:45:00
|
显示全部楼层
 
 
 
我为什么弄不成,我完了,如果2月份搞不定,我老板会让我延期毕业得哦
Dim newtextstyleobj1 As AcadTextStyle 
 Dim textstylename1 As String 
 textstyle1 = ".shx" 
 Set newtextstyleobj1 = ThisDrawing.TextStyles.Add(textstyle1) 
 newtextstyleobj1.TextGenerationFlag = 0 
 Dim fontfilename As String 
 Dim textbold As Boolean 
 Dim textitalic As Boolean 
 Dim textcharset As Long 
 Dim textpfamily As Long 
 ThisDrawing.ActiveTextStyle.GetFont fontfilename, textbold, textitalic, textcharset, textpfamily 
 fontfilename = "宋体.shx" 
 ThisDrawing.ActiveTextStyle.SetFont fontfilename, textbold, textitalic, textcharset, textpfamily 
 ThisDrawing.Regen acActiveViewport |   
 
 
 
 |