I have some high density label areas in a map book that I'd like to use key numbering for, but I need to be able to stack the labels. I have the stacking turned on as a fitting strategy and am using a delimiting character to force the line breaks where I need them in my label's format, but the labels in the key number run into a single line.
I've included a screen shot showing one of the areas I would like to use Key numbering for. The exact syntax for the labels from the attribute table are something like this - exact values vary a little from polygon to polygon:
Where my label stacking options are set to force split at the "~" characters. I need to add those same splits into the labels for the key numbering.
Any help would be greatly appreciated.
In further experimentation, I tried adapting the VB expression below, but all it did was remove the ~ from the key numbering labels. They still all appear on a single line.
Function FindLabel( [Label] )
var = [Label]
result = ""
splitStr = Split(var, chr(126))
for i = 0 to UBound(splitStr)
tmpStr = Trim(splitStr(i))
if len(tmpStr) > 0 then
if result = "" then
result = tmpStr
result = result & vbnewline & tmpstr
splitStr(i) = tmpStr
FindLabel = result
This isn't possible in the current software. The labeling properties are not applied to the text in the key number list as the key numbering is the property (fitting strategy) being applied. There may be scope for further enhancements to the key numbering in Maplex, depending on user demand.