Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Showing picture in full size
Message
From
25/11/2011 14:08:48
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01529804
Message ID:
01529814
Views:
47
This message has been marked as a message which has helped to the initial question of the thread.
>Hi everybody,
>
>I have an image saved in varbinary(max) field in SQL Server. I display it in the image control on a form using pictureval property.
>
>I also want to allow viewing the picture in the full size.
>
>I'm not sure how to determine image dimensions based on the original image.

Instantiate an invisible image control, load the image in it and then check its dimensions. Works for pictures on disk, I assume it would work for those loaded via .pictureVal property.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform