Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Image/Logo Resize
Message
From
03/07/2017 18:48:44
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
03/07/2017 15:18:18
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01652392
Message ID:
01652398
Views:
61
>Experts,
>
>Does any know how I can accomplish the following:
>
>a. Allow users to upload their business logo from Command button on my Company profile form.
>
>b. Resize the image to a set height and width (120 x 145).
>
>c. Save the new image (resized) to a designated directory (preferably in the iMage directory from the application directory.
>
>d. Display the new image on the form.


You don't need to resize it at all. Just save a copy as is and set its fullpath as Picture property of your Image control. Set your Image control's height x width to 120 x 145. Set its Stretch property to 1 (isometric). Or if you don't want to keep aspect ratio, set it to 2 (fit).
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform