Skip to content

Commit 5a88d82

Browse files
Update Program.cs
1 parent 440564c commit 5a88d82

File tree

1 file changed

+1
-1
lines changed
  • Find-and-Replace/Find-and-replace-merge-field-name/.NET/Find-and-replace-merge-field-name

1 file changed

+1
-1
lines changed

Find-and-Replace/Find-and-replace-merge-field-name/.NET/Find-and-replace-merge-field-name/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ static void Main(string[] args)
2121
// Replaces the merge field name "last_name" with "LastName".
2222
ReplaceMergeFieldName("last_name", "LastName", mergeFields);
2323
// Creates a file stream to save the modified document.
24-
using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"../../../Output/Result.docx"), FileMode.Create, FileAccess.ReadWrite))
24+
using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"Output/Result.docx"), FileMode.Create, FileAccess.ReadWrite))
2525
{
2626
// Saves the Word document to the file stream in DOCX format.
2727
document.Save(outputFileStream, FormatType.Docx);

0 commit comments

Comments
 (0)