I am trying to figure out AlivePDF and having some problems which I don't know 
if they are 
bugs or user ignorance!  Any help would be appreciated from anyone who has more 
experience than I.

I am just trying to lay out cell horizontally.  This is how I understand it 
should be done.

This does NOT work (for me):

var myPDF : PDF = new PDF(Orientation.PORTRAIT,Unit.MM,Size.LETTER);
myPDF.addPage(Orientation.PORTRAIT);
myPDF.setFont(FontFamily.HELVETICA, 'B', 12);
myPDF.textStyle ( new RGBColor ( 255, 0, 0 ) );
myPDF.addCell(50,10,'Some text into a cell !',1,0);
myPDF.addCell(50,10,'More text into a cell !',1,0);
myPDF.addCell(50,10,'Last text into a cell !',1,0);

However this works to lay them out vertically:

var myPDF : PDF = new PDF(Orientation.PORTRAIT,Unit.MM,Size.LETTER);
myPDF.addPage(Orientation.PORTRAIT);
myPDF.setFont(FontFamily.HELVETICA, 'B', 12);
myPDF.textStyle ( new RGBColor ( 255, 0, 0 ) );
myPDF.addCell(50,10,'Some text into a cell !',1,1);
myPDF.addCell(50,10,'More text into a cell !',1,1);
myPDF.addCell(50,10,'Last text into a cell !',1,1);

What am I doing wrong to create horizontal cells?

- Kevin

Reply via email to