Add Pdf.UpdateMetadata

This commit is contained in:
2023-03-07 23:21:21 +01:00
parent 6326917c95
commit 394f6332de
5 changed files with 16 additions and 5 deletions

View File

@ -11,10 +11,11 @@ using WGneu.Models;
namespace WGneu.Documents {
class Template {
private static readonly string ROOT = @"C:\Users\tom\Projects\wgneu\";
private static readonly string ROOT = @"C:\Users\lorenz\Desktop\";
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");
}