Hello,
I have to print horizontal and vertical text on the same page.
Is it possible ?
Frank
Printing horizontal and vertical text
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
-
- Posts: 366
- Joined: Wed Aug 30, 2006 5:25 pm
- Location: Uruguay
-
- Posts: 142
- Joined: Sun Oct 09, 2005 10:59 am
Antonio , Ruben
Thanks , with nescapement 900 or -900 it works , not with 360
Thanks , with nescapement 900 or -900 it works , not with 360
Code: Select all
# include "fivewin.ch"
FUNCTION MAIN
LOCAL oPrn , cTitle := "merging horizontal and vertical text"
LOCAL Font , oFntV
PRINT oPrn NAME cTitle PREVIEW MODAL
DEFINE FONT oFntV NAME "Arial" SIZE 0,-15 BOLD NESCAPEMENT -900 OF oPrn
Define Font oFont NAME "MS SANS SERIF" Size 0,-15 NESCAPEMENT 360 oF oPrn
PAGE
oprn:cmsay(5,5,"HORIZONTAL")
oprn:cmsay(10,15,"VERTICAL 1",oFntV)
oprn:cmsay(10,10,"VERTICAL 2",oFont) // Doesn't work , horizontal printing
ENDPAGE
ENDPRINT
oFont:end()
oFont := nil
oFntV:end()
oFntv := nil
RETURN nil