Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Centering Images
Message
From
02/01/2007 03:28:28
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
01169087
Message ID:
01181295
Views:
8
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]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform