Link to home
Start Free TrialLog in
Avatar of Replica178
Replica178

asked on

VB.NET Set PictureBox Size

Hi all.
How I can set the picturebox Size ?
I try to do this:
 PictureBox1.Height.ToString(TextBox1.Text)

Open in new window

And thiss
 PictureBox1.Size.Height.ToString(TextBox1.Text)

Open in new window

But it's Not Working.
Help PLease
ASKER CERTIFIED SOLUTION
Avatar of Replica178
Replica178

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Replica178
Replica178

ASKER

Working
Avatar of Mike Tomlinson
...or:

    PictureBox1.Size = New Size(TextBox1.Text, TextBox2.Text)