Hi,
Can anyone provide a style to display Text that works perfectly? We have some feature and they have labels. What our problem is the labels appear as they like, which is not clear to us. For example, in the image below we are about 50 m scale and only two features’ label are shown and two are not shown.
As we ZOOM OUT different label appears (at 200m scale)
And then at 400m zoom we see all the labels
We want the opposite behaviour. If the Feature Geometry( in this case the rectangle) is smaller then part of the labels are shown or all the labels like now. But they MUST appear if the geometry is bigger or there is more place like the image 1 and 2.
The Text Style that we are using is following:
TextStyle textStyle = TextStyles.CreateSimpleTextStyle(
columnName, “Arial”, 8, DrawingFontStyles.Bold, GeoColor.StandardColors.Black, 0, 0);
textStyle.HaloPen = new GeoPen(GeoColor.StandardColors.White, 2);
textStyle.OverlappingRule = LabelOverlappingRule.NoOverlapping;
textStyle.SplineType = SplineType.ForceSplining;
textStyle.DuplicateRule = LabelDuplicateRule.UnlimitedDuplicateLabels;
textStyle.TextLineSegmentRatio = 9999999;
textStyle.FittingLineInScreen = true;
textStyle.SuppressPartialLabels = true;
textStyle.BestPlacement = true;
Can any one please help? PS: Anyone from thinkgeo: we have a WPF licence, but unfortunately no support ticket so we are posing in this forum!
Regards,
Murshed