We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95b8a8b commit ebf37ebCopy full SHA for ebf37eb
Word-to-Image-conversion/Use-alternate-installed-font/.NET/Use-alternate-installed-font/Program.cs
@@ -27,7 +27,7 @@ static void Main(string[] args)
27
//Reset the stream position.
28
stream.Position = 0;
29
//Save the stream as file.
30
- using (FileStream fileStreamOutput = File.Create("Output/WordToImage_" + i + ".jpeg"))
+ using (FileStream fileStreamOutput = File.Create(Path.GetFullPath(@"Output/WordToImage_" + i + ".jpeg")))
31
{
32
stream.CopyTo(fileStreamOutput);
33
}
0 commit comments