<?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: GetTextSize method in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/gettextsize-method/m-p/608172#M16287</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;1 point is 1/72 of an inch.&amp;nbsp; The relationship between the points and the ground size is the scale of the map.&amp;nbsp; You can get the mapscale from the Imap interface.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;for example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;10pt text on 1/10,000 map is&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;10 * 1/72&amp;nbsp; / 1/10,000 = 1,388.9 inches or 35.3 meters&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Sep 2013 14:20:22 GMT</pubDate>
    <dc:creator>AlexanderGray</dc:creator>
    <dc:date>2013-09-03T14:20:22Z</dc:date>
    <item>
      <title>GetTextSize method</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/gettextsize-method/m-p/608171#M16286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;following code will get me xSize and ySize, but as i zoom in and out i can see that text size stays constant, but size should be longer if i zoom out, if i understand right Size is in ppi(point per inch) so i'd need to know how many points in an inch depending on zoom level so that i can get correct text length, any idea how to get this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;double xSize = 0.0; double ySize = 0.0; display.StartDrawing(display.hDC, (short)esriScreenCache.esriNoScreenCache); ((ITextSymbol)textSymbol).GetTextSize(display.hDC, display.DisplayTransformation, text, out xSize, out ySize); display.FinishDrawing();&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2013 11:25:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/gettextsize-method/m-p/608171#M16286</guid>
      <dc:creator>PrzemyslawTyrtania</dc:creator>
      <dc:date>2013-09-03T11:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: GetTextSize method</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/gettextsize-method/m-p/608172#M16287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;1 point is 1/72 of an inch.&amp;nbsp; The relationship between the points and the ground size is the scale of the map.&amp;nbsp; You can get the mapscale from the Imap interface.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;for example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;10pt text on 1/10,000 map is&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;10 * 1/72&amp;nbsp; / 1/10,000 = 1,388.9 inches or 35.3 meters&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2013 14:20:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/gettextsize-method/m-p/608172#M16287</guid>
      <dc:creator>AlexanderGray</dc:creator>
      <dc:date>2013-09-03T14:20:22Z</dc:date>
    </item>
  </channel>
</rss>

