Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- table4.WidthPercentage = 40;
- table4.SpacingBefore = 8;
- table4.HorizontalAlignment = Element.ALIGN_RIGHT;
- PdfPCell levo = new PdfPCell(new Phrase("Ukupan iznos za placanje RSD",FontFactory.GetFont("Arial",7, iTextSharp.text.Font.BOLD)));
- PdfPCell desno = new PdfPCell(new Phrase(SVE_UKUPNO.ToString("F"),FontFactory.GetFont("Arial",7,iTextSharp.text.Font.BOLD)));
- levo.Border = iTextSharp.text.Rectangle.NO_BORDER;
- BaseColor myColor = WebColors.GetRGBColor("#DCDCDC");
- levo.BackgroundColor = myColor;
- levo.FixedHeight = desno.FixedHeight = 15;
- float[] duzina = new float[] { 28, 12};
- table4.SetWidths(duzina);
- desno.Border = iTextSharp.text.Rectangle.NO_BORDER;
- levo.HorizontalAlignment = Element.ALIGN_LEFT;
- desno.HorizontalAlignment = Element.ALIGN_RIGHT;
- table4.AddCell(levo);
- table4.AddCell(desno);
- doc.Add(table4);
- Paragraph tekuciRacun = new Paragraph("Tekuci racun:\nRaiffeisen banka A.D. - Beograd 265-1660310003899-05", FontFactory.GetFont("Arial", 7));
- tekuciRacun.SpacingBefore = 60;
- doc.Add(tekuciRacun);
Add Comment
Please, Sign In to add comment