Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Deal with CentimetersToPoints function
Message
De
20/03/2009 11:56:46
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
20/03/2009 11:37:39
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01390028
Message ID:
01390041
Vues:
40
>UPDATE: I got it. Thanks for your attention.
>--------
>Hi.
>When doing automation of word if I want to change the 'LefIndent' and other similiars properties
>there is a function used: CentimetersToPoint().
>How to deal with it? Must I declare it? If yes, how?
>Thanks in advance.

Really you don't need a special function; a multiplicative constant will also work. 1 inch = 2.54 cm.; 1 inch = 72 points.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform