Select to view content in your preferred language

Rotation of graphic elements

717
1
Jump to solution
07-15-2020 12:59 AM
anyry
by
Occasional Contributor

I would like to ask you, is it possible to rotate graphic elements added to layouts? I attach a picture of the code with which I insert graphic elements into layouts. Is it possible to modify this code so that images are inserted rotated?

Thank you for your reply in advance.

0 Kudos
1 Solution

Accepted Solutions
UmaHarano
Esri Regular Contributor

Hi,

You can call the SetRotation method on the element. It also shown in the Layout Snippet here.

ptTxtElm.SetRotation(45);

Thanks

Uma

View solution in original post

1 Reply
UmaHarano
Esri Regular Contributor

Hi,

You can call the SetRotation method on the element. It also shown in the Layout Snippet here.

ptTxtElm.SetRotation(45);

Thanks

Uma