I have code that creates either a UniqueValueRenderer or a ClassBreaksRenderer and applies it. I also have code that uses AnnotateLayerProperties to set labels.
When I create a renderer and then an annotation or an annotation and then a renderer the map goes haywire - sometimes one displays and the other one is missing and rarely (without pattern) both display.
Must I use the OnDraw event (and save the annotation instructions) to ensure that annotations are reproduced? What can I do about the renderer? Can I save that and restore it in the OnDraw? In what order should these be drawn?