c# - ArcObjects: How to enable associating levels to masked layers? -
in advanced drawing options layers there checkbox 'enable associate levels masked layers'. i'm trying figure out how enable via arcobjects. can cast imap or igrouplayer ilevelmasking retrieve levels string, nothing in interface allows me enable option. ideas?
figured out. seems it's derived if have few things set properly:
- make sure draw using masking options specified below enabled (cast imap ilayermasking , set usemasking true.)
- ensure layer you're trying add masked level checked masking layer (cast imap or igrouplayer ilayer belongs to ilayermasking object, , use ilayermasking.set_maskinglayers set list of masking layers. note list esri.arcgis.esrisystem.iset).
- set level masking casting imap igrouplayer layer belongs using ilevelmasking , using ilevelmasking.set_levelmasking(maskedlayer, maskinglayer, "1234") "1234" strong level masking value.)
Comments
Post a Comment