RotationExpression Property

1649
2
Jump to solution
10-09-2014 10:47 AM
PeterBennett
New Contributor

Hello,

I would like to know how to use the UniqueValueRenderer.RotationExpression Property, how do I build the expression?

I have an attribute in my graphicsLayer named "Angle", it has values from 0 to 360 degrees corresponding to rotation.

Please advice

Thank you in advance

0 Kudos
1 Solution

Accepted Solutions
PreetiMaske
Esri Contributor

Following should work :

var renderer = new UniqueValueRenderer();

renderer.RotationExpression = "[Angle]";

View solution in original post

2 Replies
PreetiMaske
Esri Contributor

Following should work :

var renderer = new UniqueValueRenderer();

renderer.RotationExpression = "[Angle]";

MichaelBranscomb
Esri Frequent Contributor

Hi,

Thank you for raising this - I have entered an issue to enhance the API reference doc in this area.

Cheers

Mike

0 Kudos