cad用单线字体好一点,字多也速度快
'创建新的字体样式
Public Sub NewTextStyle2() '创建新的字体样式,gbenor.SHX gbcbig.SHX 字体
On Error GoTo err1
Dim lkxtextstyle As AcadTextStyle
Set lkxtextstyle = ThisDrawing.TextStyles.Add("ZZY_2")
With lkxtextstyle
.fontFile = "gbenor.SHX"
.BigFontFile = "gbcbig.SHX"
.Width = 0.85
End With
Exit Sub
err1:
Err.Clear
Resume Next
End Sub