<?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 ILegendInfo.LegendItem is never called. in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/ilegendinfo-legenditem-is-never-called/m-p/259217#M6665</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am implementing custom renderers and want to customize the display in the AxTOCControl.&amp;nbsp; In order to customize the TOC, I am implementing ILegendInfo, adding groups with classes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;At runtime, the ESRI framework appropriately calls LegendGroupCount and LegendGroup, and as a result, my groups and symbology are displaying in the TOC.&amp;nbsp; However, I am also trying to customize the font size and icon spacing (which I think is the patch size), and so I have created a customized HorizontalLegendItem that I am returning in the ReadOnly property LegendItem.&amp;nbsp; The problem is that at runtime, this method never gets called, and so the TOC continues to display items using the default font and spacing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas?&amp;nbsp; Am I missing something?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Dec 2013 19:10:26 GMT</pubDate>
    <dc:creator>JerryFaust</dc:creator>
    <dc:date>2013-12-05T19:10:26Z</dc:date>
    <item>
      <title>ILegendInfo.LegendItem is never called.</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/ilegendinfo-legenditem-is-never-called/m-p/259217#M6665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am implementing custom renderers and want to customize the display in the AxTOCControl.&amp;nbsp; In order to customize the TOC, I am implementing ILegendInfo, adding groups with classes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;At runtime, the ESRI framework appropriately calls LegendGroupCount and LegendGroup, and as a result, my groups and symbology are displaying in the TOC.&amp;nbsp; However, I am also trying to customize the font size and icon spacing (which I think is the patch size), and so I have created a customized HorizontalLegendItem that I am returning in the ReadOnly property LegendItem.&amp;nbsp; The problem is that at runtime, this method never gets called, and so the TOC continues to display items using the default font and spacing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas?&amp;nbsp; Am I missing something?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Dec 2013 19:10:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/ilegendinfo-legenditem-is-never-called/m-p/259217#M6665</guid>
      <dc:creator>JerryFaust</dc:creator>
      <dc:date>2013-12-05T19:10:26Z</dc:date>
    </item>
  </channel>
</rss>

