> Script Details
Draw Symbol Levels
report inappropriate content
Sep 14 2007
Status of work
ESRI Attribution and Licensing Agreement
ArcScripts is intended for the free exchange of scripts and tools related to ESRI software products. Please alert the moderator if this script is a demo, trial-version, or an advertisement for a retail product.
This sample tool sets symbol levels for each value in a point layer symbolized by unique values. The point features are then drawn in ascending order using Advanced Drawing symbol levels.
In this sample the UniqueValueRenderer uses a MultiLayerMarkerSymbol with two symbol levels. The first symbol layer is a CharacterMarkerSymbol with a fill color and no outline. The second symbol layer is a corresponding CharacterMarkerSymbol with an outline and no fill. The point layer is drawn using symbol levels by setting the IMap::UseSymbolLevels property to True. The symbol level for both symbol layers in the multilayer symbol is set to same value so that each of the symbol's layers is drawn with same symbol level.