Skip to content

Commit

Permalink
Update example
Browse files Browse the repository at this point in the history
  • Loading branch information
PrzemyslawKlys committed Jul 14, 2023
1 parent 07e7f6f commit 470cef2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OfficeIMO.Examples/Word/Fields/Fields02.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ internal static void Example_DocumentWithFields02(string folderPath, bool openWo
document.AddHeadersAndFooters();

// added page number using fields which triggers fields refresh
document.AddField(WordFieldType.NumPages);
document.AddField(WordFieldType.Page).AddText(" of ").AddField(WordFieldType.NumPages);

document.AddField(WordFieldType.Author);

Expand Down

0 comments on commit 470cef2

Please sign in to comment.