This commit is contained in:
parent
f8ce342257
commit
a5e638833e
@ -207,7 +207,7 @@ namespace Volian.Print.Library
|
||||
rtfSB.Append("}");
|
||||
return rtfSB.ToString();
|
||||
}
|
||||
protected static string AddFontTable(System.Drawing.Font font)
|
||||
public static string AddFontTable(System.Drawing.Font font)
|
||||
{
|
||||
StringBuilder rtfSB = new StringBuilder();
|
||||
StringBuilder sbbeg = new StringBuilder();
|
||||
@ -244,7 +244,7 @@ namespace Volian.Print.Library
|
||||
float fE = iFont.BaseFont.GetWidthPointKerned("!", 12);
|
||||
return fW == fE;
|
||||
}
|
||||
protected static iTextSharp.text.Paragraph RtfToParagraph(string rtf)
|
||||
public static iTextSharp.text.Paragraph RtfToParagraph(string rtf)
|
||||
{
|
||||
IRtfDocument rtfDoc = RtfInterpreterTool.BuildDoc(rtf);
|
||||
Rtf2iTextSharp rtf2IText = new Rtf2iTextSharp(rtfDoc);
|
||||
|
Loading…
x
Reference in New Issue
Block a user