<?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 Want To Get “Qtext” Function  Boundary in ObjectARX Forum</title>
    <link>https://forums.autodesk.com/t5/objectarx-forum/want-to-get-qtext-function-boundary/m-p/10971050#M2699</link>
    <description>&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;I want to get the outsourcing boundary of the &lt;FONT color="#FF0000"&gt;"Qtext"&lt;/FONT&gt; function of the text. How can I get this boundary? The outsourcing obtained by using the AcDbEntity::getGeomExtents, acedTextBox, AcGiTextStyle::extentsBox functions is very different from the "Qtext" function, especially when the text is TrueType font and not English.help me,thanks!!!&lt;/P&gt;</description>
    <pubDate>Fri, 25 Feb 2022 02:36:02 GMT</pubDate>
    <dc:creator>109641872</dc:creator>
    <dc:date>2022-02-25T02:36:02Z</dc:date>
    <item>
      <title>Want To Get “Qtext” Function  Boundary</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/want-to-get-qtext-function-boundary/m-p/10971050#M2699</link>
      <description>&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;I want to get the outsourcing boundary of the &lt;FONT color="#FF0000"&gt;"Qtext"&lt;/FONT&gt; function of the text. How can I get this boundary? The outsourcing obtained by using the AcDbEntity::getGeomExtents, acedTextBox, AcGiTextStyle::extentsBox functions is very different from the "Qtext" function, especially when the text is TrueType font and not English.help me,thanks!!!&lt;/P&gt;</description>
      <pubDate>Fri, 25 Feb 2022 02:36:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/want-to-get-qtext-function-boundary/m-p/10971050#M2699</guid>
      <dc:creator>109641872</dc:creator>
      <dc:date>2022-02-25T02:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: Want To Get “Qtext” Function  Boundary</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/want-to-get-qtext-function-boundary/m-p/10991964#M2700</link>
      <description>&lt;P&gt;Do you really need the exact dimensions of this textbox?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm afraid that there is no ARX API for this purpose. Even AutoCAD's ZOOM command doesn't distinguish between QTEXT ON or OFF. Maybe the border offsets are based on TrueType font properties that could be queried with Windows GDI functions like &lt;FONT face="courier new,courier"&gt;GetOutlineTextMetricsW()&lt;/FONT&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The only (very costly!) way I can think of is to derive a custom class from &lt;FONT face="courier new,courier"&gt;AcGiWorldDraw&lt;/FONT&gt; using a custom &lt;FONT face="courier new,courier"&gt;AcGiWorldGeometry&lt;/FONT&gt; and call &lt;FONT face="courier new,courier"&gt;text-&amp;gt;worldDraw(pMyWorldDraw)&lt;/FONT&gt;. This will call the primitive draw methods of your&amp;nbsp;&lt;FONT face="courier new,courier"&gt;AcGiWorldGeometry&lt;/FONT&gt; and you could monitor which lines are drawn. But I'm not even sure whether this would call the "line primitives" or the "text primitives".&lt;/P&gt;
&lt;DIV id="simple-translate"&gt;
&lt;DIV&gt;
&lt;DIV class="simple-translate-button isShow" style="background-image: url('moz-extension://8a33bbf6-8616-49ff-8595-7e2527764252/icons/512.png'); height: 22px; width: 22px; top: 28px; left: 182px;"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="simple-translate-panel " style="width: 300px; height: 200px; top: 0px; left: 0px; font-size: 13px; background-color: #ffffff;"&gt;
&lt;DIV class="simple-translate-result-wrapper" style="overflow: hidden;"&gt;
&lt;DIV class="simple-translate-move" draggable="true"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="simple-translate-result-contents"&gt;
&lt;P class="simple-translate-result" style="color: #000000;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="simple-translate-candidate" style="color: #737373;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 08 Mar 2022 18:52:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/want-to-get-qtext-function-boundary/m-p/10991964#M2700</guid>
      <dc:creator>tbrammer</dc:creator>
      <dc:date>2022-03-08T18:52:30Z</dc:date>
    </item>
  </channel>
</rss>

