|
发表于 2008-4-9 09:40:00
|
显示全部楼层
Public Sub 字体样式() '============设置字体============
Dim typeface As String
Dim textbold As Boolean
Dim textitalic As Boolean
Dim textcharset As Long
Dim textpfamily As Long
acadDoc.ActiveTextStyle.GetFont typeface, textbold, textitalic, textcharset, textpfamily
typeface = "宋体"
acadDoc.ActiveTextStyle.SetFont typeface, textbold, textitalic, textcharset, textpfamily
acadDoc.Regen acActiveViewport
End Sub |
|