Skip to content

Commit

Permalink
Removed extra code
Browse files Browse the repository at this point in the history
  • Loading branch information
vderyushev committed Aug 9, 2024
1 parent bf424d7 commit 49dd0b0
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ public void UseIfElseMustache()
//ExStart:UseIfElseMustache
//GistId:544788f602e697802e313a641cedb9b8
Document doc = new Document(MyDir + "Mail merge destinations - Mustache syntax.docx");
doc.Sections.Clear();
doc.Save(ArtifactsDir + "output.docx");

doc.MailMerge.UseNonMergeFields = true;
doc.MailMerge.Execute(new[] { "GENDER" }, new object[] { "MALE" });
Expand Down

0 comments on commit 49dd0b0

Please sign in to comment.