You mean an UMG widget?
In that case you either need to expose the image as a variable in the UI and than set its transform(Get HUD node is the start there), or create widget, set render transform and set the In Transform Angle. Both using the rotator you get from the code above.
This is slightly more complicated, are you making a 2D game? I do not think that UMG widged is the ideal solution for this, I would go with a plane that is using the image as a texture.