CodePudding user response:
I am looking for a long time, only form the Cell can rotateCodePudding user response:
PdfPTable table=new PdfPTable (3);PdfPCell cell1=new PdfPCell (new Phrase (" Cell 1-90 "));
//90 degree rotation
Cell1. SetRotation (90);
Table. AddCell (cell1);
PdfPCell cell2=new PdfPCell (new Phrase (" Cell 2-180 "));
//180 degree rotation
Cell2. SetRotation (180);
Table. AddCell (cell2);
PdfPCell cell3=new PdfPCell (new Phrase (" Cell 3-270 "));
//270 degree rotation
Cell3. SetRotation (270);
Table. AddCell (cell3);
Table.com pleteRow ();
CodePudding user response:
Part rotation, the original poster to find the method?CodePudding user response: