Using Html/Pdf Initializer

This commit is contained in:
2023-03-08 23:25:01 +01:00
parent 30c4eea7b7
commit a55678e5ef
8 changed files with 72 additions and 33 deletions

View File

@ -16,7 +16,7 @@ namespace WGneu.Documents {
public static async void Test() {
await Pdf.Convert(ROOT + "din-5008.html", ROOT + "test.pdf");
Pdf.UpdateMetadata(ROOT + "test.pdf", "Test Dokument", "Winzergenossenschaft für Matzen und Umgebung reg. Gen.m.b.H.");
Pdf.Display("Test-Dokument", ROOT + "test.pdf");
Pdf.Show(ROOT + "test.pdf", "Test-Dokument");
}
public static async void Generate(WgContext c) {