From 7b1ef49ebd164e73bb909ef02655b68091f34566 Mon Sep 17 00:00:00 2001 From: Elias Date: Sat, 28 Dec 2024 10:01:12 +0100 Subject: [PATCH] [fix:] document language cannot be set with Document.Info.Language --- MainWindow.axaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MainWindow.axaml.cs b/MainWindow.axaml.cs index 8fef3e2..9e4753e 100644 --- a/MainWindow.axaml.cs +++ b/MainWindow.axaml.cs @@ -545,7 +545,7 @@ namespace PLG_Exam document.Info.Author = _currentExam.Vorname + " " + _currentExam.Name; document.Info.Subject = "PLG Exam Submission"; document.Info.Keywords = "Exam, PLG, Report, PDF"; - document.Info.Language = "de-DE"; // Deutsch (Deutschland) + var firstPage = document.AddPage(); var gfx = XGraphics.FromPdfPage(firstPage);