Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Deal with CentimetersToPoints function
Message
From
20/03/2009 11:56:46
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
20/03/2009 11:37:39
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01390028
Message ID:
01390041
Views:
39
>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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform