Thanks for the reply. I understand the way a need to set the ScaleTransform. but my question is depending on my image size i need to set the value for ScaleTransform. How do i calculate that value? i have a code that dynamically generates images with different size (different width and height). i can't set a fix value for ScaleTransform, so i need to calculate this value on the fly.
PHPraveenkumar H Syncfusion Team September 25, 2013 03:54 AM UTC
Thanks for using Syncfusion products,
We are able to set the image bounds manually,
it automatically scales the image to its dimension internally.
The sample code snippet
is given below.
The sample project is attached for