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

Picture -> ScaleProportional + Align Left

1 Answer 333 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
rh
Top achievements
Rank 1
rh asked on 17 Feb 2008, 04:57 AM
If I set a picture to ScaleProportional then when it scales it seems to center itself horizontally within the picture box. How can I get it scale proportional yet stay aligned to the left of the picture box?

1 Answer, 1 is accepted

Sort by
0
Svetoslav
Telerik team
answered on 18 Feb 2008, 10:18 AM
Hi rh,

ScaleProportional resizes the image to match the height and width of the PictureBox, preserving the aspect ratio. This is described in the documentation for ImageSizeMode.

If you consider something to be incorrect in the PictureBox rendering, please send us your report (and the mentioned image) so that we can examine it and get back with possible solution(s). Since the different formats have different rendering we would also need to know when the issue appears.

For more information on the formats please see Design Considerations For Report Rendering.

 
Greetings,
Svetoslav
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
General Discussions
Asked by
rh
Top achievements
Rank 1
Answers by
Svetoslav
Telerik team
Share this question
or