Ciao all
i wish to know if is possible to set a vertical line spacing between 2 lines in a Word file
Example, to write in a Word file i do:
oWord := CREATEOBJECT( "Word.Application" )
...
...
oSel = oWord:Selection
...
...
oSel:Font:Size:=14
oSel:Font:Bold:=.t.
oSel:Font:Color:=CLR_RED
oSel:Font:name:="Nome Font"
oSel:TypeText("Descrizione Riga 1"+CRLF)
oSel:TypeText("Descrizione Riga 2"+CRLF)
It words well, but the second line has too space from first line !!
Is is possible to set it ? How ?
Many thanks
Romeo
vertical line spacing in Word
Re: vertical line spacing in Word
Ciao Romeo,
add this lines
Buona serata
Massimo
add this lines
Code: Select all
oSel:ParagraphFormat:LineSpacingRule := 0
oSel:ParagraphFormat:SpaceAfter = 0
Massimo
Re: vertical line spacing in Word
João Santos - São Paulo - Brasil
Re: vertical line spacing in Word
Grazie 1000
Re: vertical line spacing in Word
Hello guys,
Where can we find a list of all the possibilities that we can use to handle a document in Word?
How can we define tab settings (left, center and right) in Word?
Thanks a lot in advance.
Where can we find a list of all the possibilities that we can use to handle a document in Word?
How can we define tab settings (left, center and right) in Word?
Thanks a lot in advance.
Regards,
Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7
Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7