Home > Back-end >  Rotating display text itextpdf consult how to implement
Rotating display text itextpdf consult how to implement

Time:09-15

into the figure how to use Java implementation

CodePudding user response:

I am looking for a long time, only form the Cell can rotate

CodePudding 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:

reference bird (south), 4/f response:
part rotation, the landlord to find the method?
did you find a way

CodePudding user response:

refer to 6th floor rzq228 response:
Quote: refer to 4th floor (south birds) response:
part rotation, the landlord to find the way?
did you find a way brother
no
  • Related