export-margin-options implementation #33
+4
-3
@@ -27,6 +27,7 @@ public class PdfBuilder
|
|||||||
|
|
||||||
// Font settings
|
// Font settings
|
||||||
private readonly double _fontSize = 9;
|
private readonly double _fontSize = 9;
|
||||||
|
private readonly double _smallFontSize = 6;
|
||||||
|
|
||||||
private readonly double _marginBottom = 1; // mm
|
private readonly double _marginBottom = 1; // mm
|
||||||
|
|
||||||
@@ -57,9 +58,9 @@ public class PdfBuilder
|
|||||||
chosenFamily = "Arial";
|
chosenFamily = "Arial";
|
||||||
}
|
}
|
||||||
|
|
||||||
_boldFont = new XFont(chosenFamily, 9, XFontStyleEx.Bold);
|
_boldFont = new XFont(chosenFamily, _fontSize, XFontStyleEx.Bold);
|
||||||
_regularFont = new XFont(chosenFamily, 9, XFontStyleEx.Regular);
|
_regularFont = new XFont(chosenFamily, _fontSize, XFontStyleEx.Regular);
|
||||||
_smallFont = new XFont(chosenFamily, 6, XFontStyleEx.Regular);
|
_smallFont = new XFont(chosenFamily, _smallFontSize, XFontStyleEx.Regular);
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void EnsureFontResolverRegistered()
|
private static void EnsureFontResolverRegistered()
|
||||||
|
|||||||
Reference in New Issue
Block a user