Mike,
Thanks for the reply. So as it stands now there does not seem to be a way to add a halo effect when labeling a DynamicLayerInfo. Using the BorderLineColor and BackGroundColor on TextSymbol instructs ArcGIS Server to put a square background and border behind each label. This is not the halo effect. ArcGIS Server seems to be able to support both the square background and halo background for a Text Symbol but the ArcGIS Runtime for .NET does not seem to support a halo for labels.
Symbol Objects (ArcGIS Server REST API)
http://resources.arcgis.com/en/help/rest/apiref/symbol.html
According to this page:
New in 10.1
Four new properties were added - text, borderLineSize, haloColor and haloSize.
When we set the BorderLineColor and BackGroundColor on TextSymbol the JSON that gets sent to the server correctly has “borderLineSize" and “borderlineColor” and a square background appears behind the labels. The TextSymbol in the ArcGIS Runtime for .NET does not have the HaloColor and HaloSize properties so there is no way the Runtime can produce JSON with “haloColor” and “haloSize” to send to ArcGIS Server.
So we believe that the TextSymbol needs to have a HaloColor and HaloSize properties added so that the correct JSON can be generated for a halo background to be generated by ArcGIS Server.
Now in a separate issue (not to complicate what was said above) I think there is a similar problem with the AttributeLabelClass, specifically how the TextSymbol is used to generate labels on the client. For example, when using the AttributeLabelClass with a local CSV file, if you use the BorderLineColor and BorderLineSize properties it will generate a halo effect around the labels (which we think is wrong). I believe in this scenario ArcGIS Server was not used and the layer was processed locally in the Runtime. Setting the BorderLineColor and BorderLineSize properties should produce a square background behind the labels (just like ArcGIS Server does) and thus we still need the Text Symbol to have the HaloColor and HaloSize added so the halo effect can be applied using a local CSV file and the AttributeLabelClass.
Can you verify our findings?
Thanks,
-eric