<?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: ArcObjects: How to enable associating levels to masked layers? in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/arcobjects-how-to-enable-associating-levels-to/m-p/507301#M3462</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #242729; background-color: #ffffff;"&gt;Figured it out. Seems it's derived if you have a few things set properly:&lt;BR /&gt;1. Make sure Draw using masking options specified below is enabled (Cast your IMap to ILayerMasking and set UseMasking to true.)&lt;BR /&gt;2. Ensure the layer you're trying to add a masked level to is checked as a masking layer (cast your IMap or the IGroupLayer your ILayer belongs to to an ILayerMasking object, and then use ILayerMasking.set_MaskingLayers to set the list of masking layers. Note the list is an ESRI.ArcGIS.esriSystem.ISet).&lt;BR /&gt;3. Set the level masking by casting your IMap to IGroupLayer your layer belongs to using ILevelMasking and using ILevelMasking.set_LevelMasking(MaskedLayer, MaskingLayer, "1234") where "1234" is the strong for your level masking value.)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Jul 2017 22:24:53 GMT</pubDate>
    <dc:creator>mikebaran</dc:creator>
    <dc:date>2017-07-28T22:24:53Z</dc:date>
    <item>
      <title>ArcObjects: How to enable associating levels to masked layers?</title>
      <link>https://community.esri.com/t5/developers-questions/arcobjects-how-to-enable-associating-levels-to/m-p/507300#M3461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #242729; background-color: #ffffff;"&gt;In the advanced drawing options for Layers there is a checkbox 'Enable to associate levels to masked layers'. I'm trying to figure out how to enable this via ArcObjects. I can cast an IMap or IGroupLayer to ILevelMasking to retrieve the levels as a string, but nothing in that interface allows me to enable the option. Any ideas?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jul 2017 18:35:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/arcobjects-how-to-enable-associating-levels-to/m-p/507300#M3461</guid>
      <dc:creator>mikebaran</dc:creator>
      <dc:date>2017-07-28T18:35:23Z</dc:date>
    </item>
    <item>
      <title>Re: ArcObjects: How to enable associating levels to masked layers?</title>
      <link>https://community.esri.com/t5/developers-questions/arcobjects-how-to-enable-associating-levels-to/m-p/507301#M3462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #242729; background-color: #ffffff;"&gt;Figured it out. Seems it's derived if you have a few things set properly:&lt;BR /&gt;1. Make sure Draw using masking options specified below is enabled (Cast your IMap to ILayerMasking and set UseMasking to true.)&lt;BR /&gt;2. Ensure the layer you're trying to add a masked level to is checked as a masking layer (cast your IMap or the IGroupLayer your ILayer belongs to to an ILayerMasking object, and then use ILayerMasking.set_MaskingLayers to set the list of masking layers. Note the list is an ESRI.ArcGIS.esriSystem.ISet).&lt;BR /&gt;3. Set the level masking by casting your IMap to IGroupLayer your layer belongs to using ILevelMasking and using ILevelMasking.set_LevelMasking(MaskedLayer, MaskingLayer, "1234") where "1234" is the strong for your level masking value.)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jul 2017 22:24:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/arcobjects-how-to-enable-associating-levels-to/m-p/507301#M3462</guid>
      <dc:creator>mikebaran</dc:creator>
      <dc:date>2017-07-28T22:24:53Z</dc:date>
    </item>
  </channel>
</rss>

