Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determine size of an image
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Determine size of an image
Divers
Thread ID:
01659303
Message ID:
01659303
Vues:
57
Hi,

This thread is a follow-up to the thread on how to scroll an image inside a form. The solution was to setting the image control Height to 1000 and Width to 2000 (I think arbitrarily selected). And then setting the form to scroll. It works but the image is stretched to the set Height and Width. It would be better if I could determine the size of the image (on-the-fly) and set the values of the Image control Height and Width matching the actual size of the image. This way the scrolling would be done to a lesser degree.

But how do you determine the size of the image?

TIA
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform