Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calculating the width in pixels of a general field pictu
Message
From
16/04/1999 01:37:14
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
15/04/1999 13:43:34
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00208661
Message ID:
00208873
Views:
39
>Hi All,
>
>Anybody has any suggestion on how to calculate the
>width (in pixels) of an OLE picture contained in
>a general field?
>
>I need to make the OLE container control the same
>size as the picture.
>
>The Autosize property does not work with the OLE container.
>
>Help!
>
>Thanks in advance
>
>Pascal
Pascal,
Visit www.fastwrite.com and check focus.vcx. At least one of the functions deal with bitmap dimensions and there are numerous nice functions (focus.vcx is a wrapper to winapi calls). Also you might need a twips conversion (one twip is 1/1440 of an inch and device independent). I can help you in conversion if you take to that point and if you need it.
Cetin
Ç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