Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Table in word, Colum width?
Message
From
23/10/2000 13:11:28
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00432936
Message ID:
00432990
Views:
21
>These should work if you change "InchesToPoints(.95)" to "oWord.InchesToPoints(.95)". Even better, don't call Word's InchesToPoints method--it's really slow in comparison to VFP's math functions. The conversion is simple: there are 72 points in an inch. The following is much faster:
>
#DEFINE autoInches2Points 72
>oTable.Columns[1].SetWidth = .95 * autoInches2Points
>Now it's easy to see that you mean .95 inches, but Word gets the value it wants <s>.
>
>Hope this helps,
>
> - della Martin


Thanks
Peter
Peter Cortiel
Previous
Reply
Map
View

Click here to load this message in the networking platform