There was an error while loading. Please reload this page.
1 parent 900a2bb commit 5b46570Copy full SHA for 5b46570
Header and Footer/Dynamic-footers-across-PDF-pages/.NET/Dynamic-footers-across-PDF-pages/Program.cs
@@ -67,7 +67,7 @@ static void Main(string[] args)
67
layoutFormat
68
);
69
// Save and close
70
- using (FileStream outputFileStream = new FileStream(@"Output/Output.pdf", FileMode.Create, FileAccess.Write))
+ using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"Output/Output.pdf"), FileMode.Create, FileAccess.Write))
71
{
72
document.Save(outputFileStream);
73
}
0 commit comments