Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Fonts VFP6 to MS Word
Message
 
To
03/01/2005 08:36:09
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00973567
Message ID:
00977896
Views:
39
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform