Line label rotation

318
1
Jump to solution
03-15-2022 08:52 AM
GonzaloMuñoz
New Contributor II

Hi,

we have a line in our map and we have add a label to it. We are using the variable esriServerLinePlacementCenterAlong but the problem we are facing is that the label associated to the line is always rotated according the line and we need it to be without rotation.

How can this be achieved? The Angle parameter of the label only applies to points.

Regards

0 Kudos
1 Solution

Accepted Solutions
Nicholas-Furness
Esri Regular Contributor

Hi.

I think you're looking for the TextLayout property: https://developers.arcgis.com/net/api-reference/api/netwin/Esri.ArcGISRuntime/Esri.ArcGISRuntime.Map...

Does that do what you're after?

View solution in original post

1 Reply
Nicholas-Furness
Esri Regular Contributor

Hi.

I think you're looking for the TextLayout property: https://developers.arcgis.com/net/api-reference/api/netwin/Esri.ArcGISRuntime/Esri.ArcGISRuntime.Map...

Does that do what you're after?