I am using the 5.5.0.87 Daily build of the WPF Mapsuite. I am having trouble getting the ScaleBarPrinterLayer to actually appear on my map. I can get the ScaleLinePrinterLayer to show up, but I'd really like to have the customization of the ScaleBar. Below is the code I use to instantiate this layer (you can see I've tried different color options):
ScaleBarPrinterLayer scaleBarPrinterLayer = new ScaleBarPrinterLayer(mapPrinterLayer);
scaleBarPrinterLayer.DragMode = PrinterDragMode.Dragable;
scaleBarPrinterLayer.UnitFamily = UnitSystem.Imperial;
scaleBarPrinterLayer.MapUnit = gisMap.MapUnit;
scaleBarPrinterLayer.TextColor = new GeoColor( 255, GeoColor.SimpleColors.BrightRed );
scaleBarPrinterLayer.BarBrush = new GeoSolidBrush();//new GeoColor( 255, GeoColor.SimpleColors.BrightRed ) );
RectangleShape pageBoundingbox = GetPageBoundingBox(PrintingUnit.Inch);
scaleBarPrinterLayer.SetPosition( 1.25, .25, pageBoundingbox.GetCenterPoint().X, pageBoundingbox.GetCenterPoint().Y, PrintingUnit.Inch );
printerOverlay.PrinterLayers.Add("ScaleBarLayer", scaleBarPrinterLayer);
And this is the result, after I move the map out of the way. The ScaleBar is definitely there, just not drawing itself: