1,105,625 Community Members

How to Resize Image with form resize event

Member Avatar
hanky
Newbie Poster
7 posts since Jun 2007
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

Hi,
Please let me know how to resize an Image with form resize event.
Also I will have to limit the size so that the image size is not larger than the scrreen width and so small so that the text in the Image is illegible.
Also, please let me know how to check if caps are on.

Thanks
Hanky

Member Avatar
debasisdas
Posting Genius
6,542 posts since Feb 2007
Reputation Points: 580 [?]
Q&As Helped to Solve: 476 [?]
Skill Endorsements: 25 [?]
Featured
 
0
 

to resize the image control set its height =formheight-300 or any other value and the same for width also in the form resize event.

Member Avatar
QVeen72
Veteran Poster
1,016 posts since Nov 2006
Reputation Points: 104 [?]
Q&As Helped to Solve: 164 [?]
Skill Endorsements: 7 [?]
 
0
 

Hi,

use this code in Form_resize event:

Image1.Left =0
Image1.Top =0
Image1.Width = (Me.Width * 0.9)
Image1.Height = (Me.Height * 0.9)

Regards
Veena

Member Avatar
hanky
Newbie Poster
7 posts since Jun 2007
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

thnks

Member Avatar
Awon02
Newbie Poster
2 posts since Jun 2011
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

Hello There

I come to know you about Resizing image using asp.net-2.0(vb).

I have a url which can help you.

Click Here : http://www.raiseitsolutions.com/forum/viewtopic.php?f=4&t=3&sid=d77033041ed4f76e339e14beda1d7b2c

I hope it is enough for you.

Thank You

AWON

You
This article has been dead for over three months: Start a new discussion instead
Post:
Start New Discussion
Tags Related to this Article