<?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 c# mtext block formatting issue in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/c-mtext-block-formatting-issue/m-p/9856583#M17998</link>
    <description>&lt;P&gt;I am grabbing one mtext block from a .dwg and after replacing a bit of the mtext by setting the mtext.content equal to a string I then copy it with&amp;nbsp;WblockCloneObjects() to a new .dwg.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am having one issue where I have \t for tabs in the mtext replacement, but the new copy is adding a extra tab than what is in the mtext.contents.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am having another issue where the colors of the mtext are replaced with whatever the block layer color is for the mtext. So if I have in one mtext a string partly red and partly blue, the new copy will only reflect the block layer's set color.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for any help and let me know if any more information is needed.&lt;/P&gt;</description>
    <pubDate>Mon, 09 Nov 2020 18:08:23 GMT</pubDate>
    <dc:creator>smullinaxKVYYA</dc:creator>
    <dc:date>2020-11-09T18:08:23Z</dc:date>
    <item>
      <title>c# mtext block formatting issue</title>
      <link>https://forums.autodesk.com/t5/net-forum/c-mtext-block-formatting-issue/m-p/9856583#M17998</link>
      <description>&lt;P&gt;I am grabbing one mtext block from a .dwg and after replacing a bit of the mtext by setting the mtext.content equal to a string I then copy it with&amp;nbsp;WblockCloneObjects() to a new .dwg.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am having one issue where I have \t for tabs in the mtext replacement, but the new copy is adding a extra tab than what is in the mtext.contents.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am having another issue where the colors of the mtext are replaced with whatever the block layer color is for the mtext. So if I have in one mtext a string partly red and partly blue, the new copy will only reflect the block layer's set color.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for any help and let me know if any more information is needed.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Nov 2020 18:08:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/c-mtext-block-formatting-issue/m-p/9856583#M17998</guid>
      <dc:creator>smullinaxKVYYA</dc:creator>
      <dc:date>2020-11-09T18:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: c# mtext block formatting issue</title>
      <link>https://forums.autodesk.com/t5/net-forum/c-mtext-block-formatting-issue/m-p/9863431#M17999</link>
      <description>&lt;P&gt;Here are some pictures of my issue to hopefully give more detail. Also I am using version R.47.0.0 Autocad 2021&lt;/P&gt;&lt;P&gt;The first is the messed up result after the mtext's content is replaced with a string = "Front\t\t\t\t20'\nSide\t\t\t\t5'\nRear\t\t\t\t18'\nCorner\t\t\t\t15'\n"&amp;nbsp; &amp;nbsp;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The second is what my expected result from the string should be.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The third is a picture of me copying the resulting mtext from the .dwg file and entering the text with formatting into notepad++ and showing the text codes as well as the text. As you can see from this file and the string there are equal tabs in each new line, but the first picture shows an extra tab on the last line.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2020 03:13:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/c-mtext-block-formatting-issue/m-p/9863431#M17999</guid>
      <dc:creator>smullinaxKVYYA</dc:creator>
      <dc:date>2020-11-12T03:13:21Z</dc:date>
    </item>
  </channel>
</rss>

