>I have a WebControls.Image control in my webform. I size the control to a certain size and fill the ImageUrl property at runtime.
>
>The correct image is displayed at runtime, however the image is always stretched out and does not look good.
>
>Is there a property similar to Visual Foxpro's Stretch or Isometric that will allow the image to display properly within the image controls area? Specifically VFP's Stretch property = Isometric.
>
>Thanks,
>
>Jerry
Jerry,
System.Drawing.Image.GetTumbnailImage is exactly what you are looking for.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement