I know there has been a lot lof discussion about the ScaleBarAdornmentLayer, but it seems to me that most of it is really about the ScaleLineAdornmentLayer.
I want to use teh ScaleBarAdornmentLayer, which provides the attached image:
I have two changes that I would like to see. I want the part of the bar that is transparent ot be white (and I don't want the full white rectangle that is provided with UseMask). I would also like to change the level at which the scale units change from feet to miles. I want it to remain in feet up through at least one mile.
Can you provide your "DrawCode" function that generates this image, so that we may start with it for making these modifications? Or, add a AlternateDrawBrush property, and a property to trigger the change from one unit to another?
Also, the Wiki says that you must use the ScaleLineAdornmentLayer in conjunction with this, but I do not understand why. There is no example of using both in combination, either.