Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Centering Images
Message
De
02/01/2007 03:28:28
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
01169087
Message ID:
01181295
Vues:
9
Rex,

the only solution I know so far is generating a cursor with a general field, add the pictures to cursor via APPEND GENERAL. A Picture control bound to a general field may autocenter (the is a switch in objects properties).

Agnes
>Hi,
>
>My app has images of various dimensions (showing people) which need to be printed in a report using the Picture/OLE Bound control. These images are mainly JPG and are stored on the hard drive with the path/filename stored in the app.
>
>With the property 'if the source and frame are different sizes' the image object is set to 'Scale Contents, Retain Shape' however this means the image is scaled correctly but is left justified (to fill the image object shape).
>
>Whilst there is a property 'Centre general field horizontally in frame' this doesn't work when the object is generated from an expression or variable name.
>
>Is there any way these differently shaped images can be centered in the image objects on the reports?
>
>Any suggestions or thoughts would be gratefully accepted.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform