Hi,
Is it possible to rotate ImageSource of any control at any angle for svg images?
e.g. Imagesource=”pin?color=red&rotate=90″
For PictureBox, rotating the control is possible with css but it would be nice for ImageSource of any control.
Thank you
Hi Serkan,
a generic approach like the one you suggested is not possible.
You have to apply CSS to the child widget.
This can either be done with a javascript call/eval see here
https://docs.wisej.com/docs/concepts/javascript
or in InitScript to have it persistently.
The call could look like this (depending on the control you´re using it for):
this.getChildControl("icon").getContentElemenet().setStyle(...)
Hope this helps.
Best regards
Frank
Please login first to submit.