[chore:] added more info on overview page
This commit is contained in:
+10
-1
@@ -878,7 +878,16 @@ public class PdfBuilder
|
|||||||
using var gfx = XGraphics.FromPdfPage(page);
|
using var gfx = XGraphics.FromPdfPage(page);
|
||||||
|
|
||||||
gfx.DrawString("Übersicht PLZ-Gruppen", titleFont, XBrushes.Black,
|
gfx.DrawString("Übersicht PLZ-Gruppen", titleFont, XBrushes.Black,
|
||||||
new XRect(28, 26, page.Width.Point - 56, 22), XStringFormats.TopLeft);
|
new XRect(28, 16, page.Width.Point - 56, 20), XStringFormats.TopLeft);
|
||||||
|
|
||||||
|
var metadataFont = new XFont("Arial", 9, XFontStyleEx.Regular);
|
||||||
|
double metadataWidth = (page.Width.Point - 56) / 3;
|
||||||
|
gfx.DrawString($"ZKZ: {_settings.rsZKZ}", metadataFont, XBrushes.Black,
|
||||||
|
new XRect(28, 38, metadataWidth, 16), XStringFormats.TopLeft);
|
||||||
|
gfx.DrawString($"Datum: {DateTime.Now:dd.MM.yyyy}", metadataFont, XBrushes.Black,
|
||||||
|
new XRect(28 + metadataWidth, 38, metadataWidth, 16), XStringFormats.TopLeft);
|
||||||
|
gfx.DrawString("Projekt: ____________________", metadataFont, XBrushes.Black,
|
||||||
|
new XRect(28 + 2 * metadataWidth, 38, metadataWidth, 16), XStringFormats.TopLeft);
|
||||||
|
|
||||||
double firstTableX = (page.Width.Point - allTablesWidth) / 2;
|
double firstTableX = (page.Width.Point - allTablesWidth) / 2;
|
||||||
for (int tableIndex = 0; tableIndex < 2; tableIndex++)
|
for (int tableIndex = 0; tableIndex < 2; tableIndex++)
|
||||||
|
|||||||
Reference in New Issue
Block a user