SetLandscape
Posted: Sun Jun 13, 2021 12:57 am
Hello friends,
If I use oPrn:SetLandscape() or oPrn:SetPortrait() ? oPrn:nOrient always returns 1.
Is SetLandscape working for you?
Best regards,
Otto
If I use oPrn:SetLandscape() or oPrn:SetPortrait() ? oPrn:nOrient always returns 1.
Is SetLandscape working for you?
Best regards,
Otto
- Code: Select all Expand view
function nOrientPrn()
local cret, oprn
PRINTER oPrn
cRet := oPrn:getmodel()
? cRet
oPrn:SetLandscape()
? oPrn:nOrient
oPrn:SetPortrait()
? oPrn:nOrient
endprint
return cret