Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Table in word, Colum width?
Message
De
23/10/2000 13:11:28
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00432936
Message ID:
00432990
Vues:
26
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform