Dear Support,
I just tried the new D2D rendering system that comes with 5.5.40.0 ...
First great think ... it's easy to switch to :)
However, we feel that text display is worse than the GDI version, particularly the scale bar is nearly undreadable (text is blur)
Did I miss something?
here is my code to display the scale bar:
// Set scale bar.
ScaleBarAdornmentLayer scaleLineAdornmentLayer = new ScaleBarAdornmentLayer();
scaleLineAdornmentLayer.Location = AdornmentLocation.LowerRight;
scaleLineAdornmentLayer.UnitFamily = UnitSystem.Metric;
scaleLineAdornmentLayer.HasMask = true;
scaleLineAdornmentLayer.MaskBrush =new GeoSolidBrush(GeoColor.FromArgb(150, GeoColor.StandardColors.White));
scaleLineAdornmentLayer.MaskContour =
new GeoPen(GeoColor.StandardColors.Transparent);
scaleLineAdornmentLayer.DisplayUnitString["Meter"] = "m";
scaleLineAdornmentLayer.DisplayUnitString["Kilometer"] = "km";
m_MainMap.AdornmentOverlay.Layers.Add("ScaleLineAdornmentLayer", scaleLineAdornmentLayer);
Best regards, Patrick.