<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: in VBA Forum</title>
    <link>https://forums.autodesk.com/t5/vba-forum/width-factor-of-text-object/m-p/335518#M98997</link>
    <description>thanks Jackie,&lt;BR /&gt;
i want to change the radio between the text's width and height(e.g. is the&lt;BR /&gt;
width factor is 0.8,so "width/height"=0.8). this can be done by manual, but&lt;BR /&gt;
i don't know how to realize by vb language. who can tell me?&lt;BR /&gt;
&lt;BR /&gt;
good lucky&lt;BR /&gt;
&lt;BR /&gt;
Michael</description>
    <pubDate>Wed, 20 Oct 1999 13:45:41 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>1999-10-20T13:45:41Z</dc:date>
    <item>
      <title>width factor of text object</title>
      <link>https://forums.autodesk.com/t5/vba-forum/width-factor-of-text-object/m-p/335516#M98995</link>
      <description>hi,&lt;BR /&gt;
today, i found a problem: i don't know how to set width factor of&lt;BR /&gt;
textsyle,so i used "sendcommand "-style" &amp;amp; vbcr ..." method to set the text&lt;BR /&gt;
style's width factor as 0.8. when i used "addtext string,pt,height" method&lt;BR /&gt;
to add a text object, but i used "ddmodify" method found that the width&lt;BR /&gt;
factor was not "0.8" but "1.0" as its default value. what's wrong with it?&lt;BR /&gt;
who can tell me how to do?&lt;BR /&gt;
thanks in advance.&lt;BR /&gt;
&lt;BR /&gt;
i use VB6 &amp;amp; A2K.&lt;BR /&gt;
Michael</description>
      <pubDate>Tue, 12 Oct 1999 10:51:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/width-factor-of-text-object/m-p/335516#M98995</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>1999-10-12T10:51:09Z</dc:date>
    </item>
    <item>
      <title>Re: width factor of text object</title>
      <link>https://forums.autodesk.com/t5/vba-forum/width-factor-of-text-object/m-p/335517#M98996</link>
      <description>Michael,&lt;BR /&gt;
I am not clear from your message whether you want to change the width of&lt;BR /&gt;
your textstyle or only a single string of text.&lt;BR /&gt;
&lt;BR /&gt;
If you are trying to change a single string of text then you need to change&lt;BR /&gt;
the "ScaleFactor" property of the object after you use the AddText method&lt;BR /&gt;
     txtObj.ScaleFactor = "whatever"&lt;BR /&gt;
&lt;BR /&gt;
and then update it using the update method&lt;BR /&gt;
     txtObj.Update&lt;BR /&gt;
&lt;BR /&gt;
If you are trying to change a textstyle then this is out of the help:&lt;BR /&gt;
&lt;BR /&gt;
If changes are made to the active TextStyle, the new TextStyle object must&lt;BR /&gt;
be reset as the active TextStyle, and the Regen method must be called for&lt;BR /&gt;
the changes to appear. To reset the active TextStyle, simply call the&lt;BR /&gt;
ActiveTextStyle property again with the updated TextStyle object.&lt;BR /&gt;
&lt;BR /&gt;
Hope this helps.&lt;BR /&gt;
Jackie Bliss,   CADD Systems Manager&lt;BR /&gt;
Hurt &amp;amp; Proffitt, Inc.   Lynchburg, VA, USA&lt;BR /&gt;
&lt;BR /&gt;
Michael Chen &lt;CH2000&gt; wrote in message&lt;BR /&gt;
news:7tvfbr$gge11@adesknews2.autodesk.com...&lt;BR /&gt;
&amp;gt; hi,&lt;BR /&gt;
&amp;gt; today, i found a problem: i don't know how to set width factor of&lt;BR /&gt;
&amp;gt; textsyle,so i used "sendcommand "-style" &amp;amp; vbcr ..." method to set the&lt;BR /&gt;
text&lt;BR /&gt;
&amp;gt; style's width factor as 0.8. when i used "addtext string,pt,height" method&lt;BR /&gt;
&amp;gt; to add a text object, but i used "ddmodify" method found that the width&lt;BR /&gt;
&amp;gt; factor was not "0.8" but "1.0" as its default value. what's wrong with it?&lt;BR /&gt;
&amp;gt; who can tell me how to do?&lt;BR /&gt;
&amp;gt; thanks in advance.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; i use VB6 &amp;amp; A2K.&lt;BR /&gt;
&amp;gt; Michael&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;/CH2000&gt;</description>
      <pubDate>Mon, 18 Oct 1999 16:33:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/width-factor-of-text-object/m-p/335517#M98996</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>1999-10-18T16:33:18Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/vba-forum/width-factor-of-text-object/m-p/335518#M98997</link>
      <description>thanks Jackie,&lt;BR /&gt;
i want to change the radio between the text's width and height(e.g. is the&lt;BR /&gt;
width factor is 0.8,so "width/height"=0.8). this can be done by manual, but&lt;BR /&gt;
i don't know how to realize by vb language. who can tell me?&lt;BR /&gt;
&lt;BR /&gt;
good lucky&lt;BR /&gt;
&lt;BR /&gt;
Michael</description>
      <pubDate>Wed, 20 Oct 1999 13:45:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/width-factor-of-text-object/m-p/335518#M98997</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>1999-10-20T13:45:41Z</dc:date>
    </item>
  </channel>
</rss>

