This commit is contained in:
1 parent
daec29dc9a
commit
e648a50e9b
12 files changed
+146
-105
No files matched your search
@@ -25,7 +25,7 @@ namespace Volian.Print.Library
|
||||
XOffset = xoffset;
|
||||
MyFont = vFont;
|
||||
}
|
||||
public override float ToPdf(PdfContentByte cb, float yPageStart, float yTopMargin, float yBottomMargin)
|
||||
public override float ToPdf(PdfContentByte cb, float yPageStart, ref float yTopMargin, ref float yBottomMargin)
|
||||
{
|
||||
string fontFace = MyFont.WindowsFont.Name;
|
||||
int fontStyle = (MyFont.WindowsFont.Bold ? iTextSharp.text.Font.BOLD : 0) + (MyFont.WindowsFont.Italic ? iTextSharp.text.Font.ITALIC : 0);
|
||||
|
||||
Reference in new issue
Block a user