>>>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. I only store the image itself, not the original extension which can be any of image type extensions. I also not sure of the best control to use.
>>>
>>>Thanks in advance.
>>
>>In VFP there is no other control then Image to show pictures :-)
>>What happens if you change Stretch property of the control?
>
>What should be this property set to and how the form's size should reflect? Should I set the picture, then resize the form?
>
>Right now it's just a big form with an image control using all the size of the form and all I do I assign the pictureval property to image. Its Stretch property is set to 0.
Check this:
http://weblogs.foxite.com/vfpimaging/archive/2007/05/28/3862.aspxThis is Cesar's blog, how to gt picture size.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.