This commit is contained in:
parent
ab07bf2f8e
commit
92a879bb6b
@ -157,7 +157,7 @@ namespace Volian.Print.Library
|
|||||||
{
|
{
|
||||||
//If change bar is on left side, subtract off size of text & some constant number
|
//If change bar is on left side, subtract off size of text & some constant number
|
||||||
// y is yoffset - size of paragraph
|
// y is yoffset - size of paragraph
|
||||||
iTextSharp.text.Font iFont = Rtf2iTextSharp.GetFont(new System.Drawing.Font("Letter Gothic", 5.5F));
|
iTextSharp.text.Font iFont = Volian.Svg.Library.VolianPdf.GetFont(new System.Drawing.Font("Letter Gothic", 5.5F));
|
||||||
|
|
||||||
Chunk chk = new Chunk(vcbm.Message.IndexOf(@"\n") > -1 ? vcbm.Message.Substring(0, vcbm.Message.IndexOf(@"\n")) : vcbm.Message, iFont);
|
Chunk chk = new Chunk(vcbm.Message.IndexOf(@"\n") > -1 ? vcbm.Message.Substring(0, vcbm.Message.IndexOf(@"\n")) : vcbm.Message, iFont);
|
||||||
Paragraph myparagraph = new Paragraph(chk);
|
Paragraph myparagraph = new Paragraph(chk);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user