Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb thread: Re: help me i want to stretch image


Message #1 by "Marco Straforini" <marco.straforini@c...> on Wed, 4 Dec 2002 23:02:39
use an Image control and set the Stretch property to True (the default
is False). When you resize the control the image will stretch to 
fit the control. Be careful if you want to preserve the right aspect
ratio.

As for the text, why not using a Label?

Marco


> 
hello friend. i am trying to make something like pagemaker.

i made line,box,ellipse,circle ,tools . i can move and stretch them using 
mouse . i use to drag mouse on a picturebox by holding left mouse button 
and i get desired effect. but there are two thing. i can create runtime 
image in a picturbox container but cannot stretch it runtime by holding 
left mouse button clicked on image .secondly , i want to write a text in 
image so that i could move it , stretch it, drag it as we do in pagemaker .


  Return to Index