Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sizing an image in image control
Message
De
05/01/2005 19:54:35
Keith Payne
Technical Marketing Solutions
Floride, États-Unis
 
 
À
30/12/2004 09:05:58
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00973250
Message ID:
00974573
Vues:
24
>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
Fil
Voir

Click here to load this message in the networking platform