<?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 How change width factor of a text style in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/how-change-width-factor-of-a-text-style/m-p/13201624#M1565</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;How can I width factor of a text style by .NET ?&lt;/P&gt;</description>
    <pubDate>Mon, 09 Dec 2024 16:35:03 GMT</pubDate>
    <dc:creator>mehdi_aghdam</dc:creator>
    <dc:date>2024-12-09T16:35:03Z</dc:date>
    <item>
      <title>How change width factor of a text style</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-change-width-factor-of-a-text-style/m-p/13201624#M1565</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;How can I width factor of a text style by .NET ?&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2024 16:35:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-change-width-factor-of-a-text-style/m-p/13201624#M1565</guid>
      <dc:creator>mehdi_aghdam</dc:creator>
      <dc:date>2024-12-09T16:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: How change width factor of a text style</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-change-width-factor-of-a-text-style/m-p/13201639#M1566</link>
      <description>&lt;LI-CODE lang="csharp"&gt;void SetTextStyleWidthFactor(Database db, string styleName, double newWidthFactor)
{
   using(var tr = new OpenCloseTransaction())
   {
      var textStyleTable = (TextStyleTable)tr.GetObject(db.TextStyleTableId, OpenMode.ForRead);
      if(textStyleTable.Has(styleName))
      {
         var tsr = (TextStyleTableRecord)tr.GetObject(textStyleTable[styleName], OpenMode.ForWrite);
         tsr.XScale = newWidthFactor;
      }
      tr.Commit();
   }
}&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 09 Dec 2024 16:43:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-change-width-factor-of-a-text-style/m-p/13201639#M1566</guid>
      <dc:creator>ActivistInvestor</dc:creator>
      <dc:date>2024-12-09T16:43:19Z</dc:date>
    </item>
    <item>
      <title>Re: How change width factor of a text style</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-change-width-factor-of-a-text-style/m-p/13201656#M1567</link>
      <description>&lt;P&gt;Thank you so much&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2024 16:50:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-change-width-factor-of-a-text-style/m-p/13201656#M1567</guid>
      <dc:creator>mehdi_aghdam</dc:creator>
      <dc:date>2024-12-09T16:50:46Z</dc:date>
    </item>
  </channel>
</rss>

