Adjust image in a radrotator

2 posts, 0 answers
  1. Shirya
    Shirya avatar
    40 posts
    Member since:
    Sep 2008

    Posted 17 Nov 2008 Link to this post

    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.
  2. Nick
    Nick avatar
    767 posts

    Posted 18 Nov 2008 Link to this post

    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,
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. DevCraft banner
Back to Top