I have a layer of streets and i need to take pictures from diferente áreas. 1500 pics… ive already do this. .but the thing here, is that some pictures doesnt have all the Street names or Street labels, i dont know if it is for the zoom im using or because the label is outside the image im generating.
How can i forcé the layer to show all the Street labels and also to show them inside the área that i am generating?
tHANKS
Labels of streets
Hi Rodrigo,
First of the thing I can think is does the label TextStyle applied from zoomlevel 1 to 20? if you have done it,then you can try some other properties in TextStyle like OverlappingRule,DuplicateRule,FittingLineInScreen,LabelAllLineParts etc.
ShapeFileFeatureLayer worldLayer =
new
ShapeFileFeatureLayer(@
"…\Data\USStates.shp"
);
worldLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20;
worldLayer.ZoomLevelSet.ZoomLevel01.DefaultLineStyle = LineStyles.Highway1;
worldLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.State1(
"STATE_NAME"
);
worldLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle.OverlappingRule = LabelOverlappingRule.AllowOverlapping;
// DuplicateRule, FittingLineInScreen, LabelAllLineParts
Hope those help.
Regards,
Troy