Itextsharp Stylesheet in html
Itext vers.5.0.4
StyleSheet style = new StyleSheet();
style.LoadStyle("text", "face", "Calibri"); // Font-family Calibri
style.LoadStyle("text", "size", "11pt"); // Font-site 11pt - don`t use px
style.LoadStyle("text","leading", "15.5"); //leading adjusts the
space between the lines in this case it makes the image hide part of thenote
style.LoadStyle("subtitle", "color", "#686B75"); // Gray
style.LoadStyle("text", "align", "justify");// Justify - css text-align
See also Itext Merge PDF
Leave a reply
Fields marked with * are required

1 Comment
06 Oktober 10 at 10:38am
1
[...] Itextsharp Stylesheet in html [...]