字体样式中宽度比例的设置???
<p><font face="宋体" size="2">在cad二次开发中怎么把字体样式中宽度比例设置成自己想要的宽度比例????</font><br/></p><p>用 SetFont(typeFace,Bold,Italic,charSet,PitchandFamily); 来实现</p><p>不知PitchandFamily怎么设置</p><p>各位大虾,帮帮忙给解决一下,最好有例子,</p><p>先谢谢了</p><p></p> <p>怎么没人回答呢?</p> 本帖最后由 作者 于 2008-6-12 16:14:08 编辑 <br /><br /> 请看 TextStyle.width 的说明:<br/><p class="body">TextStyle: Sets the character spacing. Entering a value ofless than 1.0 condenses the text. Entering a value of greater than 1.0 expands
it. The maximum value is 100. </p>Dim myTextSt As AcadTextStyle<br/>Set myTextSt = ThisDrawing.TextStyles.Add("Hztxt")<br/>With myTextSt<br/> .Width = 0.8<br/> .fontFile = "D:\Program Files\AutoCAD 2004\Fonts\tssdeng.shx"<br/> .BigFontFile = "D:\Program Files\AutoCAD 2004\Fonts\hztxt.shx"<br/>End With<br/><br/> <p>谢谢了</p><p></p>
页:
[1]