File tree Expand file tree Collapse 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 Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff 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 ) ;
You can’t perform that action at this time.
0 commit comments