[求助]如何在vb里加载和使用大字体文件
<P><FONT face=宋体 size=2>哪位高手,指点一下.主要是如何在VB中使用大字体文件?如何加载?</FONT></P> FontsName = "C:\AutoCAD 2002\Fonts\等线体(标准).shx"<BR> ThisDrawing.ActiveTextStyle.fontFile = FontsName<BR> <BR> ThisDrawing.ActiveTextStyle.BigFontFile = FontsName<BR>这样可以用, <P> 创建新字体AAA(111.shx,222.shx) </P><P> Dim txtStyle As AcadTextStyle</P>
<P> Set txtStyle = ThisDrawing.TextStyles.Add("AAA")<BR> txtStyle.fontFile = "111.shx"<BR> txtStyle.BigFontFile = "222.shx"<BR> txtStyle.Width = 1 <BR> ThisDrawing.ActiveTextStyle = ThisDrawing.TextStyles.Add("AAA")</P>
页:
[1]