When I have a label that spans the border of a tile, that part of the label is cut off. I am using the latest version of Wpf Desktop.
When Label spans tile border, cuts off
Keith,
You can adjust DrawingMarginPercentage of your FeatureLayer.
Let me know if you have more questions.
Thanks,
James
Keith,
Here is a post giving you a detail description how DrawingMarginPercentage works, please have a look. It's a web post but you can get the same idea.
gis.thinkgeo.com/Support/Dis...fault.aspx
Besides that, you can also set SuppressPartialLabels property to true, which will avoid drawing the label at all if it would cut the edge of a tile
shapeFileFeatureLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle.SuppressPartialLabels = true;
Hope that helps.
Thanks,
Ben
Thank you guys, worked nicely.
Issue Resolved.
One more thing… Is there a way to achieve the same behavior when the labels are on separate layers?
Keith,
We have the same tiling logic accross all the layers so you just need to set the properties (DarwingMarginPercentage or SuppressPartialLabels, whatever you are using) the same way for every layer, and it will work.
Thanks,
James