Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>Hi There...
>
> Is not exactly like that. Let me explain me better. I have this scenario:
>
> I have a form that its size is: Width = 1017, Height 735 (In pixels, I guess). Then I need to add to this form a variable quantity of objects (Picture Objects)... Let's supose that for this example, they will be 150 Objects. How can I determine which is the size that let me insert all this images in the form and that they fit the form exactly?
>
> Hope I make myself clear, and that you or somebody can help me.
>
>c.oper
>onedish@hotmail.com
Hi Onelio,
Here is a simple solution that assumes all 150 objects are the same size.
Multiply the width of the form times the height to get the total area. Divide that result by 150 and you have the are allotted to each object. Assuming the objects are all rectangular and all the same size. Now the problem is how may rows and columns of objects and hence the shape of the object. Hmmmm Find a number that divides evenly into 735 such as 5x147, 7x105, 15x49 and 21x35. You now have the following choices:
Précédent
Suivant
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