Advertisement
Guest User

Untitled

a guest
Jun 19th, 2019
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. Paragraph p10 = body.AppendChild(new Paragraph());
  2. Run r10 = p10.AppendChild(new Run());
  3. Run r11 = p10.AppendChild(new Run());
  4. RunProperties rp10 = r10.AppendChild(new RunProperties());
  5. RunProperties rp11 = r11.AppendChild(new RunProperties());
  6.  
  7. Bold b11 = new Bold();
  8. b11.Val = OnOffValue.FromBoolean(true);
  9. rp11.AppendChild(b11);
  10.  
  11. FontSize f10 = new FontSize();
  12. f10.Val = "24";
  13. rp10.AppendChild(f10);
  14. RunFonts rf10 = new RunFonts();
  15. rf10.Ascii = "Calibri";
  16. rp10.AppendChild(rf10);
  17.  
  18. r10.Append(new Text("The Total amount is"));
  19. r11.Append(new Text("45124"));
  20. r10.Append(new Text(" with"));
  21. r11.Append(new Text("FD"));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement