Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Uploading pictures into FoxPro
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00290228
Message ID:
00290336
Views:
34
>Thanks all for the tip,
> What if the photos are of different sizes? If I want the pictures to display beside the client information on the same form, then those sizes will vary will they not. Won't I have to do some cutting to ensure that everytime I refresh the form, that all the pictures will fit into the space on the form that will hold them?
>
>Jeff T.

It is important to display the image ISOMETRIC. Expands or Contracts the image to fit the space but, keeps the aspect ratio.

We use the following code to display an image that resides in a separate file.
The first part (before IF FILE), sets up a white backgroud for the image.

@ 5.692,73.000 TO 17.250,122.800 ;
PATTERN 1 ;
PEN 1, 8 ;
COLOR RGB(255,255,255,255,255,255)

IF FILE('\ft\poimages\'+string5)
@ 5.692,73.000 SAY '\ft\poimages\'+string5;
BITMAP SIZE 11.500,50.000 ISOMETRIC
ENDIF


Hope this is of some use to you.
Jim Finger
Previous
Reply
Map
View

Click here to load this message in the networking platform