Einzelnen Beitrag anzeigen

Benutzerbild von stahli
stahli

Registriert seit: 26. Nov 2003
Ort: Halle/Saale
4.336 Beiträge
 
Delphi 11 Alexandria
 
#1

iTextSharp - Fontwechsel innerhalb Zelle

  Alt 7. Mai 2009, 15:25
Hi,

ich erstelle eine PdfPTable:

Delphi-Quellcode:
...
TC := new Chunk(S1 + "." + S2, Font6);
...
cell := new PdfPCell(new Phrase(TC));
...
cell.BackgroundColor := new Color(230, 230, 220)
cell.VerticalAlignment := Element.ALIGN_BOTTOM;
cell.HorizontalAlignment := Element.ALIGN_CENTER;
...
PdfTable.addCell(cell);
...
Weiß jemand, wie ich INNERHALB der Zelle einen Fontwechsel veranlassen kann? Z.B:
"kleine Schrift" dann "groß+fett" dann "gelb hinterlegt" dann "grau hinterlegt"?

Danke
Stahli
  Mit Zitat antworten Zitat