POST
|
Figured it out. Seems it's derived if you have a few things set properly: 1. Make sure Draw using masking options specified below is enabled (Cast your IMap to ILayerMasking and set UseMasking to true.) 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). 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.)
... View more
07-28-2017
03:24 PM
|
0
|
0
|
343
|
POST
|
Using the information provided on http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#/d/00010000035w000000.htm I've been able to set map levels on my ISymbol objects, but unsure if it's working how I expect. If I'm not in 'Advanced View' (layer properties -> Symbology -> Advanced -> Symbol Levels -> and clicked 'Switch to Advanced View') I don't know for sure if the values are set properly since if I switch from default to advanced the values get reset from 0-N. There seems to be some flag that gets set when you toggle from default to advanced, and I need to set that for my users to be able to know what values were set and/or not accidentally reset the values. Anyone have an idea on what toggles the default/advanced view through ArcObjects? The documentation states default view's join and merge '... are implemented behind the scenes using symbol level objects and interfaces', so there must be a way? c# .net arcobjects
... View more
07-28-2017
11:36 AM
|
0
|
0
|
509
|
POST
|
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?
... View more
07-28-2017
11:35 AM
|
0
|
1
|
644
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|