Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Fonts VFP6 to MS Word
Message
 
À
03/01/2005 08:36:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
00973567
Message ID:
00977896
Vues:
40
>>We are using a VFP 6 program that allows the user to change fonts and font sizes in fields that get exported to MS Word.
>>However, in Word, the fonts are much smaller.
>>
>>For example 14 point Arial in VPF6 seems to be about 6 points in Word.
>>
>>Does anyone know how to fix this?
>
>How are you setting the font in Word? Also, are you sure it's really smaller, not just zoomed down?
>
>Tamar

Tamar....
Here is our export code:

FYI our code to export paragraph from VFP:

loRange = loWord.ActiveDocument.Range()
loRange.Font.Name = Sladv.cHeadFont
loRange.Font.Size = Sladv.nHeadSize
loRange.Font.Bold = Sladv.lHeadBold
loRange.Font.Italic = Sladv.lHeadItalic
loRange.Font.Underline = Sladv.lHeadUnder
loRange.ParagraphFormat.Alignment = 0
loRange.InsertAfter(Sladv.cheadline)
Glenn
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform