TFont:nOrientation
Posted: Tue Aug 22, 2017 10:36 pm
Hello everyone,
In printing, the text rotation is not changing:
Tested Win XP, Win7/64, Win10/64
how to solve? Thanks.
In printing, the text rotation is not changing:
Code: Select all
nAngle:=90
oFont1:= TFont():New('Courier New',,150,.F.,,,nAngle)
oFont2:= TFont():New('Courier New',,150,.F.,,,nAngle)
msginfo(oFont1:nOrientation) // SHOW 90
PRINTER oPrinter FROM USER PREVIEW NAME "teste"
oPrinter:setFont(oFont1)
oPrinter:StartPage()
oPrinter:Say( 150, 40, 'teste1', oFont1)
oPrinter:Say( 300, 40, 'teste2', oFont2)
oPrinter:Say( 450, 40, 'teste3', oFont2, 1550 )
how to solve? Thanks.