Skip to content

Commit 5b46570

Browse files
committed
963596: Added proper output path.
1 parent 900a2bb commit 5b46570

File tree

1 file changed

+1
-1
lines changed
  • Header and Footer/Dynamic-footers-across-PDF-pages/.NET/Dynamic-footers-across-PDF-pages

1 file changed

+1
-1
lines changed

Header and Footer/Dynamic-footers-across-PDF-pages/.NET/Dynamic-footers-across-PDF-pages/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ static void Main(string[] args)
6767
layoutFormat
6868
);
6969
// Save and close
70-
using (FileStream outputFileStream = new FileStream(@"Output/Output.pdf", FileMode.Create, FileAccess.Write))
70+
using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"Output/Output.pdf"), FileMode.Create, FileAccess.Write))
7171
{
7272
document.Save(outputFileStream);
7373
}

0 commit comments

Comments
 (0)