This is a migrated thread and some comments may be shown as answers.

Adjust image in a radrotator

1 Answer 111 Views
Rotator
This is a migrated thread and some comments may be shown as answers.
Shirya
Top achievements
Rank 1
Shirya asked on 17 Nov 2008, 03:39 PM
Hello,
I Would like to know if its possible to adjust an itemImage in a radrotator. My images are to big and i don't know how to change this.
thanx
Shirya

1 Answer, 1 is accepted

Sort by
0
Nick
Telerik team
answered on 18 Nov 2008, 05:09 PM
Hello Shirya,

Thank you for your question.

Please use ScaleTransform:

this.radRotator1.RotatorElement.ScaleTransform = new SizeF(0.5f, 0.5f); 

The code above scales a picture width and height to 50% of the original size.

Do not hesitate to write me back if you have further questions.

Sincerely yours,
Nick
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Rotator
Asked by
Shirya
Top achievements
Rank 1
Answers by
Nick
Telerik team
Share this question
or