<?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: MText mixed justification in VBA Forum</title>
    <link>https://forums.autodesk.com/t5/vba-forum/mtext-mixed-justification/m-p/7624191#M7225</link>
    <description>&lt;P&gt;Thanks Ed that is obviously a good idea, but up to now I only found parameters to align to Bottom, Center or Top by putting \A+No. in front of the text.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What do you have to use for horizontal alignment?&lt;/P&gt;</description>
    <pubDate>Thu, 14 Dec 2017 15:52:49 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-12-14T15:52:49Z</dc:date>
    <item>
      <title>MText mixed justification</title>
      <link>https://forums.autodesk.com/t5/vba-forum/mtext-mixed-justification/m-p/7618473#M7223</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to create Mtext with mixed alignment, but up to now only find the possibility to align the whole text block by following code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Set InsrtTXT = AcadApp.ActiveDocument.ModelSpace.AddMText(InsrtPnt, 50, TXTString)

InsrtTXT.AttachmentPoint = acAttachmentPointBottomRight &lt;/PRE&gt;&lt;P&gt;But I want the text like this:&lt;/P&gt;&lt;P&gt;Line 1: Profile-No. 12345_1_Ä2&lt;/P&gt;&lt;P&gt;Line 2:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RWXXXX&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One possibility of course would be to split the text into smaller peaces, but I don't want to do this. Especially because the MText Editor within Autocad allows me exactly to do what I want.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lars&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2017 21:17:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/mtext-mixed-justification/m-p/7618473#M7223</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-12T21:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: MText mixed justification</title>
      <link>https://forums.autodesk.com/t5/vba-forum/mtext-mixed-justification/m-p/7624053#M7224</link>
      <description>&lt;P&gt;You need to edit the text string using mtext format codes.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Dec 2017 15:24:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/mtext-mixed-justification/m-p/7624053#M7224</guid>
      <dc:creator>Ed__Jobe</dc:creator>
      <dc:date>2017-12-14T15:24:09Z</dc:date>
    </item>
    <item>
      <title>Re: MText mixed justification</title>
      <link>https://forums.autodesk.com/t5/vba-forum/mtext-mixed-justification/m-p/7624191#M7225</link>
      <description>&lt;P&gt;Thanks Ed that is obviously a good idea, but up to now I only found parameters to align to Bottom, Center or Top by putting \A+No. in front of the text.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What do you have to use for horizontal alignment?&lt;/P&gt;</description>
      <pubDate>Thu, 14 Dec 2017 15:52:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/mtext-mixed-justification/m-p/7624191#M7225</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-14T15:52:49Z</dc:date>
    </item>
    <item>
      <title>Re: MText mixed justification</title>
      <link>https://forums.autodesk.com/t5/vba-forum/mtext-mixed-justification/m-p/7624750#M7226</link>
      <description>&lt;P&gt;Format some mtext how you want it. Then select it and look at its Contents property in the Properties palette. This &lt;A href="http://help.autodesk.com/view/ACD/2018/ENU/?guid=GUID-7D8BB40F-5C4E-4AE5-BD75-9ED7112E5967" target="_blank"&gt;help topic&lt;/A&gt; might help some.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If&amp;nbsp; you're having trouble seeing the format codes, you can switch the editor to Notepad by setting MTEXTED to "notepad".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV id="GUID-9083A065-0CED-4BBC-A998-E031E7A57726__GUID-4663C2FD-2499-4F43-86B6-0BBE02A23EC2" class="section"&gt;
&lt;H2 class="title sectiontitle"&gt;&lt;A href="http://help.autodesk.com/view/ACD/2018/ENU/?guid=GUID-9083A065-0CED-4BBC-A998-E031E7A57726" target="_blank"&gt;Specify an Alternate Text Editor&lt;/A&gt;&lt;/H2&gt;
&lt;OL id="GUID-9083A065-0CED-4BBC-A998-E031E7A57726__WS1A9193826455F5FFA23CE210C4A30ACAF-63B6" class="ol"&gt;
&lt;LI id="GUID-9083A065-0CED-4BBC-A998-E031E7A57726__WS73099CC142F48755602CAF04118F18E7A07-74F7" class="li"&gt;At the Command prompt, enter &lt;STRONG id="GUID-9083A065-0CED-4BBC-A998-E031E7A57726__GUID-2CB557A5-FCAB-4328-ACF6-9F5E19AA7922" class="ph b"&gt;MTEXTED&lt;/STRONG&gt;.&lt;/LI&gt;
&lt;LI id="GUID-9083A065-0CED-4BBC-A998-E031E7A57726__WS73099CC142F48755602CAF04118F18E7A07-74F6" class="li"&gt;At the prompt do &lt;EM id="GUID-9083A065-0CED-4BBC-A998-E031E7A57726__GUID-E027B204-E413-4B7C-9E84-B9869680E7C3" class="ph i"&gt;one&lt;/EM&gt; of the following:
&lt;UL id="GUID-9083A065-0CED-4BBC-A998-E031E7A57726__WS1A9193826455F5FFA23CE210C4A30ACAF-63B4" class="ul"&gt;
&lt;LI id="GUID-9083A065-0CED-4BBC-A998-E031E7A57726__WS73099CC142F48755602CAF04118F18E7A07-74F5" class="li"&gt;Enter the path and name of the executable file for the ASCII text editor that you want to use to create or edit multiline text.&lt;/LI&gt;
&lt;LI id="GUID-9083A065-0CED-4BBC-A998-E031E7A57726__WS73099CC142F48755602CAF04118F18E7A07-74F4" class="li"&gt;Enter &lt;STRONG id="GUID-9083A065-0CED-4BBC-A998-E031E7A57726__GUID-535E8254-641D-42AF-AFB3-5A8E1910D31E" class="ph b"&gt;Internal&lt;/STRONG&gt; to restore the text editor.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 14 Dec 2017 18:30:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/mtext-mixed-justification/m-p/7624750#M7226</guid>
      <dc:creator>Ed__Jobe</dc:creator>
      <dc:date>2017-12-14T18:30:32Z</dc:date>
    </item>
    <item>
      <title>Re: MText mixed justification</title>
      <link>https://forums.autodesk.com/t5/vba-forum/mtext-mixed-justification/m-p/7627469#M7227</link>
      <description>Hello Ed,&lt;BR /&gt;&lt;BR /&gt;thanks you ver much for your help! That was quite helpful answer.&lt;BR /&gt;&lt;BR /&gt;By using "{\P\pql;Text}" you could align single line left. Replacing "l"&lt;BR /&gt;through "r" you get IT to the right.&lt;BR /&gt;</description>
      <pubDate>Fri, 15 Dec 2017 15:50:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/mtext-mixed-justification/m-p/7627469#M7227</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-15T15:50:23Z</dc:date>
    </item>
  </channel>
</rss>

