iTextSharp.text.pdf.ColumnText.AddText C# (CSharp) Method

AddText() public method

public AddText ( Phrase phrase ) : void
phrase Phrase
return void
    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));
        }
    }
    

Same methods

ColumnText::AddText ( Chunk chunk ) : void

Usage Example

Beispiel #1
0
 /** 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);
 }
All Usage Examples Of iTextSharp.text.pdf.ColumnText::AddText