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

How to RIGHT justify image in a picture box

1 Answer 202 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Wadigzon
Top achievements
Rank 1
Wadigzon asked on 17 Sep 2013, 05:07 PM
I have this picturebox object picLogo in design mode (pbdesign.jpg)
its Size property is 312px, 67px, its Sizing is set to ScaleProportional

this is how I load a small bmp (24x26) into the picturebox in the code behind:

var bm = new System.Drawing.Bitmap("\\Logos\Image.bmp");
picLogo.Value = bm;

The result can be seen at pbrunning.jpg

As you can see the small bmp is LEFT justified in the space provided for the picturebox object.

is there any way to RIGHT justify this small bmp?

1 Answer, 1 is accepted

Sort by
0
Stef
Telerik team
answered on 20 Sep 2013, 04:28 PM
Hi Wadigzon,

Please take a look at the following forum threads:

I hope this helps.

Regards,

Stef
Telerik

Have you tried the new visualization options in Telerik Reporting Q2 2013? You can get them from your account.

Tags
General Discussions
Asked by
Wadigzon
Top achievements
Rank 1
Answers by
Stef
Telerik team
Share this question
or