private void TextOnly(ParagraphBuilder paragraphBuilder, BoardingCell bi)
 {
     foreach (FontText ft in bi.fontTexts)
     {
         paragraphBuilder.AddText(ft.text).SetFont(ft.font);
     }
 }
Esempio n. 2
0
            internal virtual void AddTextToParagraph(ParagraphBuilder paragraphBuilder,
                                                     int index)
            {
                var textBuilder = paragraphBuilder.AddText(
                    index < data.Length ? data[index] : " ");

                textBuilder.SetFont(index < font.Length ? font[index] : GetLastFont());
            }
Esempio n. 3
0
        private static SectionBuilder AddReceiptText(this SectionBuilder s)
        {
            ParagraphBuilder p = s.AddParagraph()
                                 .SetMargins(0, 20, 0, 10)
                                 .SetFont(DocumentFont);

            p.AddText(ReceiptText);
            p.AddUrl("*****@*****.**");
            return(s);
        }
 private void AddWithdrawalsDescriptionToCell(TableCellBuilder cellBuilder,
                                              string[] text)
 {
     cellBuilder
     .SetFont(FNT7_2)
     .SetBorderStroke(Stroke.None, Stroke.None, Stroke.None, Stroke.None);
     foreach (string item in text)
     {
         ParagraphBuilder paragraphBuilder = cellBuilder.AddParagraph();
         paragraphBuilder.AddText(item);
     }
 }