i did it by using ScaleWidth and ScaleHeight. thanks for help