Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help with OleBoundControl.width and Word7 format.
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Help with OleBoundControl.width and Word7 format.
Divers
Thread ID:
00332073
Message ID:
00332073
Vues:
56
OleBoundControl is bound to General field with Word document. Width of this control affect Words format, for example:
If I set OleBoundControl.width=612 and in Word left(right) margin=2,5 cm, paper size=A4, then after saving and reopening is paper size A4.
But, if I change margin to 3 cm, then after ... is paper size set to 'custom' and print or preview is wrong. If I (in this case) change OleBoundControl.width to 580, it's OK again.
So, I must use only width=612, document A4, 2,5 cm margins (ugly) or
set width of this control before calling DoVerb(-2). But how or where can I found, how is Word document formatted ?

Pavel
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform