public void AddText(Phrase phrase) {
if (phrase == null || composite)
return;
AddWaitingPhrase();
if (bidiLine == null) {
waitPhrase = phrase;
return;
}
foreach (Chunk c in phrase.Chunks) {
bidiLine.AddChunk(new PdfChunk(c, null));
}
}
ColumnText::AddText ( Chunk chunk ) : void |
/** Constructs a <CODE>PdfPCell</CODE> with a <CODE>Phrase</CODE>. * The default padding is 2. * @param phrase the text */ public PdfPCell(Phrase phrase) : base(0, 0, 0, 0) { borderWidth = 0.5f; border = BOX; column.AddText(this.phrase = phrase); column.SetLeading(0, 1); }