Documents: fix WinziPrint args

This commit is contained in:
2023-10-19 22:45:31 +02:00
parent 8ce4911317
commit e52475a4bf
3 changed files with 3 additions and 2 deletions

View File

@ -90,7 +90,7 @@ namespace Elwig.Documents {
progress?.Report(50.0 * i / n);
}
progress?.Report(50.0);
await Pdf.Convert(tmpHtmls.Select(f => f.FilePath), pdf.FilePath, new Progress<double>(v => progress?.Report(50.0 + v / 2)));
await Pdf.Convert(tmpHtmls.Select(f => f.FileName), pdf.FileName, new Progress<double>(v => progress?.Report(50.0 + v / 2)));
foreach (var tmp in tmpHtmls) {
tmp.Dispose();
}